Last active
May 11, 2018 12:09
-
-
Save panchicore/2c89d75d8bcbb855e3c47d8a49abe159 to your computer and use it in GitHub Desktop.
geo shape type to geojson type lookup database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shape_types = { | |
"point": "Point", | |
"linestring": "LineString", | |
"polygon": "Polygon", | |
"multipoint": "MultiPoint", | |
"multilinestring": "MultiLineString", | |
"multipolygon": "MultiPolygon", | |
"geometrycollection": "GeometryCollection" | |
} | |
geojson_types = { | |
"Point":"point", | |
"LineString": "linestring", | |
"Polygon": "polygon", | |
"MultiPoint": "multipoint", | |
"MultiLineString": "multilinestring", | |
"MultiPolygon": "multipolygon", | |
"GeometryCollection": "geometrycollection" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment