Metadata-Version: 2.1
Name: openstreetmap
Version: 0.0.17
Summary: OpenStreetMap coordinates
Home-page: https://github.com/Mywayking/openstreetmap.git
Author: galen
Author-email: mywayking@icloud.com
License: Apache-2.0
Description: # OpenStreetMap
        `openstreetmap` is a pure Python library that provides an easy way to extracting [OpenStreetMap](https://www.openstreetmap.org/) coordinates by name or relation id.
        
        
        **Code example**
        
        ```python
        # -*- coding: UTF-8 -*-
        from openstreemap import Crawler
        
        c = Crawler()
        boundary = c.name_parse('合肥市蜀山区', level='county',coo_order=True)
        # level: country state city county town
        # coo_order  :False ->lng,lat ; True -> lat,lng  coo_order;
        print(boundary.info)
        boundary = c.id_parse("2458199", csys='wgs84', coo_order=True)
        # csys(Coordinate System): wgs84 gcj02 bd09
        print(boundary.info)
        ```
        
        ```boundary.info
        {'name': '', 'relation_id': '', 'boundary': {'outer': '', 'inner': ''}}
        ```
        
        
        ### Installation
        ---
        
        `openstreetmap ` is hosted on [PYPI](https://pypi.org/project/openstreetmap/) and can be installed as such:
        
        ```
        $ pip install openstreetmap
        ```
        
        Alternatively, you can also get the latest source code from [GitHub](https://github.com/Mywayking/openstreetmap) and install it manually:
        
        ```
        $ git clone https://github.com/Mywayking/openstreetmap.git
        $ cd openstreetmap
        $ python setup.py install
        ```
        
        For update:
        
        ```
        $ pip install openstreetmap --upgrade
        ```
        
        
        ### License
        ---
        
        
        Galen @__20180521__
Keywords: openstreetmap
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.4
Description-Content-Type: text/markdown
