Switch branches/tags
Nothing to show
Commits on Apr 12, 2011
  1. Support parsing nodes changed/created/deleted in osc files as well.

    karlp committed Apr 12, 2011
    Added a file object, and another sax handler for parsing nodes inside the modify/delete/create elements.
    I'm only working with nodes at present, so I only nodes are supported.
  2. Use python built in logging instead of raw print.

    karlp committed Apr 12, 2011
    When imported, logging will go to the "pyosm" logger.  When run as main, it will log to the console.
Commits on Nov 10, 2010
  1. BUGFIX: bz2-output for relations didn't work

    werner2101 committed Nov 10, 2010
    cosmetic: replaced print with logging function
Commits on Nov 1, 2010
Commits on Oct 29, 2010
  1. osmdb: accept all whitespaces in front of lines

    werner2101 committed Oct 29, 2010
    Some osmfiles have tabs in front or the xml elements.
    Accept all whitespace instead of only 2 spaces.
Commits on Oct 8, 2010
  1. osmdb: add support for recursive requests

    werner2101 committed Oct 8, 2010
    available commands are:
Commits on Sep 5, 2010
Commits on Jun 21, 2010
Commits on Jun 19, 2010
Commits on May 8, 2010
  1. basic webserver access functions for bz2

    werner2101 committed May 8, 2010
    incomplete interface for a webserver.
    Thus you can access the bz2 osm file similar to the osm api.
  2. add filter func to get a reduced osm-dataset

    werner2101 committed May 8, 2010
    the boolean filter can filter out specific data:
      * nodes, ways, relations, relation members or way members
    the filterfunc can hold an arbitrary filter function.
Commits on Jan 23, 2010
Commits on Dec 29, 2009
Commits on Dec 27, 2009
Commits on Dec 26, 2009
Commits on Dec 18, 2009
  1. added merge functionality to the OSMXMLFile class

    werner2101 committed Dec 18, 2009
    With this change multiple osm files can be merged together.
    The newer elements will overwrite the existing elements.
  2. Store all tags of the objects in the internal osm objects

    werner2101 committed Dec 18, 2009
    add uid, user, version, timestamp, visible to the osm objects.
    Thus the file can be as xml later
Commits on Nov 9, 2009
  1. new osm multipolygon class

    werner2101 committed Nov 9, 2009
    the multipolygon reads a osm multipolygon relation. It searches
    closed inner and outer polygons.
    Additional features:
       points in polygon tests
       osmosis polygon output
  2. support for recursive relations

    werner2101 committed Nov 9, 2009
    moved the script to src,
    ignore osm and bound xml tags
Commits on Oct 9, 2009
  1. add __cmp__ function to the osm objects

    werner2101 committed Oct 9, 2009
    Thus it's possible to sort object lists now.
Commits on Oct 8, 2009
  1. use urlopen instead of urlretrieve

    werner2101 committed Oct 8, 2009
    ... thus no temporary file will be created
  2. keep dictonaries in OSMXMLFile object

    werner2101 committed Oct 8, 2009
    removed the conversion of the object storages from dict to list.
    Random access is much easier with dictionaries.
  3. add role to the relation.members element

    werner2101 committed Oct 8, 2009
    members is now a list of tuples [(obj, role), ..]
    it was a list simple list before [obj, ...]
Commits on Oct 7, 2009
  1. basic gpx export tool

    werner2101 committed Oct 7, 2009