Metadata-Version: 2.1
Name: geohash-to-geojson
Version: 1.3.1
Summary: convert set of geohashes into a geojson boundaries files of the corresponding geohashes
Home-page: https://github.com/brings123/geohash-to-geojson
Author: Afraoucene Chakib
Author-email: fc_afraoucene@esi.dz
License: MIT
Description: # Geohash to geojson: 
        
        This package convert a set of geohashes into a geojson file with the corresponding boundaries
        
        ## How it works:
        
        Intall the package with the following code:
        
        ```python
        pip install goohash-to-geojson
        ```
        Import the function geohash_to_geojson with the following code:
        
        ```python
        import geohash_to_geojson 
        ```
        Call the function with a list of the geohashes for example:
        
        ```python
        geohash_to_geojson.geohash_to_geojson(['snd1j0','snd1jk'])
        ```
        You ll get the geojson code like that:
        
        '{"type": "FeatureCollection", "features": [{"id": "0", "type": "Feature", "properties": {}, "geometry": {"type": "Polygon", "coordinates": [[[3.0322265625, 36.73828125], [3.043212890625, 36.73828125], [3.043212890625, 36.7437744140625], [3.0322265625, 36.7437744140625], [3.0322265625, 36.73828125]]]}, "bbox": [3.0322265625, 36.73828125, 3.043212890625, 36.7437744140625]}, {"type": "Feature", "properties": {"id": "snd1jk"}, "geometry": {"type": "Polygon", "coordinates": [[[3.043212890625, 36.76025390625], [3.05419921875, 36.76025390625], [3.05419921875, 36.7657470703125], [3.043212890625, 36.7657470703125], [3.043212890625, 36.76025390625]]]}}], "bbox": [3.0322265625, 36.73828125, 3.043212890625, 36.7437744140625]}'
        
        Modify the id :0 in the first feature with the first geohash in your list then copie the text without the first and last ballestics " '' " into a file and save as with a geojson extension and that's it 
        
        ## Requirements:
        
        *json package
        *polygon_geohasher
        *geopandas
        *shapely
        
        Thank you !
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
