Permalink
Switch branches/tags
Nothing to show
Commits on May 22, 2017
  1. fixed comparison error

    Dmitry Tishchenko committed May 22, 2017
Commits on Mar 29, 2017
  1. Merge pull request #34 from flire/master

    pnorman committed Mar 29, 2017
    Proposal for issue#30: Splitting long ways
Commits on Mar 27, 2017
  1. Removed merging for parts of a linestring

    Dmitry Tishchenko committed Mar 27, 2017
Commits on Mar 22, 2017
  1. Added option for splitting

    Dmitry Tishchenko committed Mar 22, 2017
  2. Implemented splitting long ways

    Dmitry Tishchenko committed Mar 22, 2017
Commits on Sep 13, 2016
  1. Merge pull request #32 from mvexel/python3

    pnorman committed Sep 13, 2016
    Python 3 compatibility
  2. cleaning up tabs and spaces

    mvexel committed Sep 13, 2016
  3. python 3

    mvexel committed Sep 13, 2016
Commits on Sep 12, 2016
  1. making python3 syntax compatible

    mvexel committed Sep 12, 2016
Commits on Jan 6, 2015
  1. Merge pull request #29 from reidab/pg-connection-string

    pnorman committed Jan 6, 2015
    Support PostgreSQL connections for source data
Commits on Nov 25, 2014
Commits on Nov 24, 2014
Commits on Nov 21, 2014
  1. Support PostgreSQL connections for source data

    reidab committed Nov 21, 2014
    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

    pnorman committed Oct 4, 2013
  2. Merge pull request #23 from tpikonen/master

    pnorman committed Oct 4, 2013
    OGR access methods, ID counter saving and separation of classes
Commits on Sep 23, 2013
  1. Better support for OGR virtual file systems.

    tpikonen committed Sep 23, 2013
    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
    OGR.
    
    Unsupported methods: These do not make sense for input, emit an error.
Commits on Sep 22, 2013
  1. Move class definitions to a separate file, geom.py.

    tpikonen committed Sep 8, 2013
    This is to make them accessible to translation functions.
  2. Make elementIdCounter a class variable in Geometry.

    tpikonen committed Sep 8, 2013
    Simplify getNewID().
Commits on Sep 9, 2013
Commits on Aug 28, 2013
  1. Support OGRs network and compressed file access methods.

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

    pnorman committed Jun 29, 2013
Commits on Apr 26, 2013
Commits on Apr 20, 2013
  1. Add copyright

    sebastic committed Apr 20, 2013
  2. typo in error message

    pnorman committed Apr 20, 2013
Commits on Apr 4, 2013
  1. make Relation.replacejwithi operate on geometry like everyone else

    bcavagnolo committed Apr 4, 2013
    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. propagate translator function exceptions

    bcavagnolo committed with pnorman Mar 29, 2013
    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

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

    pnorman committed Jan 15, 2013
    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