/usr/lib/python2.7/dist-packages/imposm.parser-1.0.5.egg-info/PKG-INFO is in python-imposm-parser 1.0.5-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | Metadata-Version: 1.1
Name: imposm.parser
Version: 1.0.5
Summary: Fast and easy OpenStreetMap XML/PBF parser.
Home-page: http://imposm.org/docs/imposm.parser/latest/
Author: Oliver Tonnhofer
Author-email: olt@omniscale.de
License: Apache Software License 2.0
Description: imposm.parser - OpenStreetMap XML/PBF parser for Python
=======================================================
``imposm.parser`` is a Python library that parses OpenStreetMap data in `XML <http://wiki.openstreetmap.org/wiki/.osm>`_ and `PBF <http://wiki.openstreetmap.org/wiki/PBF_Format>`_ format.
It has a simple API and it is fast and easy to use. It also works across multiple CPU/cores for extra speed.
It is developed and supported by `Omniscale <http://omniscale.com>`_ and released under the `Apache Software License 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.
Example
-------
Here is an example that parses an OSM file and counts all ways that are tagged as a highway.
::
from imposm.parser import OSMParser
# simple class that handles the parsed OSM data.
class HighwayCounter(object):
highways = 0
def ways(self, ways):
# callback method for ways
for osmid, tags, refs in ways:
if 'highway' in tags:
self.highways += 1
# instantiate counter and parser and start parsing
counter = HighwayCounter()
p = OSMParser(concurrency=4, ways_callback=counter.ways)
p.parse('germany.osm.pbf')
# done
print counter.highways
Source and issue tracker
------------------------
Source code and issue tracker are available at `<https://github.com/omniscale/imposm-parser>`_.
Changelog
---------
1.0.5 2013-09-13
~~~~~~~~~~~~~~~~
- support PBF without granularity value
- improved support for non-pretty-printed XML
1.0.4 2012-12-10
~~~~~~~~~~~~~~~~
- improved support for non-pretty-printed XML
- fixed dependency check for multiprocessing
1.0.3 2011-07-21
~~~~~~~~~~~~~~~~
- support for uncompressed PBF
- bug fix for PBF without dense nodes
1.0.2 2011-03-10
~~~~~~~~~~~~~~~~
- improved regexp based XML coord parser
- prevent mmap overflow in XMLChunker without coord_callback
- successfully parsed whole planet.osm
1.0.0 2011-02-22
~~~~~~~~~~~~~~~~
- first release
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Scientific/Engineering :: GIS
|