Metadata-Version: 1.1
Name: geoformat
Version: 20190509.post13
Summary: Geoformat is a GDAL/OGR library overlayer
Home-page: https://framagit.org/Guilhain/Geoformat
Author: Guilhain Averlant
Author-email: g.averlant@mailfence.com
License: MIT
Description: # osm2geojson
        
        Parse OSM and Overpass JSON with python.
        
        ### Usage
        
        Install this package with pip:
        
        ```sh
        $ pip install osm2geojson
        ```
        
        If you want to convert OSM xml or Overpass json/xml to Geojson you can import this lib and use one of 2 methods:
        
         * `json2geojson` - to convert Overpass json to Geojson
         * `xml2geojson` - to convert OSM xml or Overpass xml to Geojson
        
        __Example:__
        
        ```py
        import codecs
        import osm2geojson
        
        with codecs.open('file.osm', 'r', encoding='utf-8') as data:
            xml = data.read()
        
        geojson = osm2geojson.xml2geojson(xml)
        # >> { "type": "FeatureCollection", "features": [ ... ] }
        ```
        
        ### Development
        
        Setup package
        
        ```sh
        $ python setup.py develop
        ```
        
        Run tests
        
        ```sh
        $ python -m unittest discover
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Scientific/Engineering :: GIS
