Skip to content
Commits on Jan 6, 2015
  1. Merge pull request #29 from reidab/pg-connection-string

    Support PostgreSQL connections for source data
Commits on Nov 25, 2014
  1. @reidab
Commits on Nov 24, 2014
  1. @reidab
Commits on Nov 21, 2014
  1. @reidab

    Support PostgreSQL connections for source data

    reidab committed
    This allows for an OGR-compatible PostgreSQL connection string, such as
    "PG:dbname=pdx_bldgs user=emma host=localhost" to be given in place of a
    source file path.
    It also adds a --sql option to query the data prior to export. This is
    particularly useful for exporting a single table from a complex database,
    via something like “SELECT * FROM buildings”
    Closes #20
Commits on Oct 4, 2013
  1. Clean up copyright

  2. Merge pull request #23 from tpikonen/master

    OGR access methods, ID counter saving and separation of classes
Commits on Sep 23, 2013
  1. @tpikonen

    Better support for OGR virtual file systems.

    tpikonen committed
    Do not call os.path.realpath() on input filename to preserve slashes in e.g.
    /vsicurl/ input strings.
    Divide OGR virtual file systems to three classes:
    Access methods: Filenames are passed unmodified to OGR.
    File methods: Existence of file is checked before passing the name to
    Unsupported methods: These do not make sense for input, emit an error.
Commits on Sep 22, 2013
  1. @tpikonen

    Move class definitions to a separate file,

    tpikonen committed
    This is to make them accessible to translation functions.
  2. @tpikonen
  3. @tpikonen

    Make elementIdCounter a class variable in Geometry.

    tpikonen committed
    Simplify getNewID().
  4. @tpikonen
Commits on Sep 9, 2013
  1. @tpikonen
  2. @tpikonen
Commits on Aug 28, 2013
  1. @tpikonen

    Support OGRs network and compressed file access methods.

    tpikonen committed
    I.e. file names starting with /vsicurl/ and/or /vsizip/, /vsigzip/
    and /vsitar/.
Commits on Jun 29, 2013
  1. Merge branch 'duplicates'

Commits on Apr 26, 2013
  1. @sebastic
Commits on Apr 20, 2013
  1. @sebastic

    Add copyright

    sebastic committed
  2. typo in error message

  3. @sebastic
Commits on Apr 4, 2013
  1. @bcavagnolo

    make Relation.replacejwithi operate on geometry like everyone else

    bcavagnolo committed
    While there is only one example of replacejwithi being called, it
    is clear that the arguments are meant to be type Geometry, not
    (Geometry, role) tuple.  So when replacing j with i, preserve the
    existing role.
Commits on Apr 3, 2013
  1. @bcavagnolo

    propagate translator function exceptions

    bcavagnolo committed with
    The existing code tacitly uses the default translator
    functions if a user-specified translator throws an
    exception.  Propagate this exception instead so that
    translator coders can know about them.
Commits on Apr 1, 2013
  1. Add a file about committing

Commits on Jan 24, 2013
Commits on Jan 15, 2013
  1. Pass the field values through .strip() before translating them.

    This fixes #17 but may require some modification of translations
    which rely on the spaces being there.
    For example, a translation which did a check like
        if attrs['foo'] == '     bar  ':
    will now need to do it as
        if attrs['foo'] == 'bar':
    Checks of this type were unreliable anyways as they relied
    on the spaces which only happened with some file formats. One
    backwards compatible way to do the check that works is
        if attrs['foo'].strip() == 'bar':
    This has the additional cost of calling strip() twice
Commits on Nov 26, 2012
  1. Use a non-empty fromlist with __import__

    This change allows for the use of loading a submodule translation, e.g. -t where translations/foo/ exists. A fromlist
    is required to have __import__ return the module given by -t instead of
    the toplevel module (e.g. foo).
    Additional init code to be called by all submodules of foo can be placed
    in translations/foo/
Commits on Nov 23, 2012
Commits on Nov 19, 2012
  1. Update -h output in readme

Commits on Nov 18, 2012
Commits on Nov 17, 2012
  1. Fix a relation ID bug

Commits on Nov 15, 2012
Something went wrong with that request. Please try again.