osm2geojson:将OSM和Overpass JSON转换为GeoJSON

时间:2021-05-19 22:16:58
【文件属性】:
文件名称:osm2geojson:将OSM和Overpass JSON转换为GeoJSON
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-19 22:16:58
geojson openstreetmap osm osm2geojson overpass-json osm2geojson 使用python解析OSM和Overpass JSON。 该库正在开发中! 用法 使用pip安装此软件包: $ pip install osm2geojson 如果要将OSM xml或Overpass json / xml转换为Geojson,则可以导入此lib并使用以下4种方法之一: json2shapes(dict json_from_overpass) -将天桥json转换为*形状对象 xml2shapes(str xml_from_osm) -将OSM xml或Overpass xml转换为* Shape-objects json2geojson(dict json_from_overpass) -将天桥json转换为Geojson xml2geojson(str xml_from_osm) -将OSM xml或Overpass xml转换为Ge
【文件预览】:
osm2geojson-master
----setup.py(885B)
----.gitignore(50B)
----requirements.txt(17B)
----update-osm-poygon-features.sh(140B)
----MANIFEST.in(101B)
----osm2geojson()
--------__init__.py(180B)
--------polygon-features.json(3KB)
--------parse_xml.py(6KB)
--------main.py(14KB)
--------helpers.py(1KB)
--------areaKeys.json(4KB)
----LICENSE(1KB)
----osm-polygon-features()
----setup.cfg(40B)
----.gitmodules(212B)
----.github()
--------workflows()
----id-area-keys()
----README.md(3KB)
----tests()
--------data()
--------__init__.py(84B)
--------parse_xml.py(4KB)
--------main.py(3KB)
----.vscode()
--------settings.json(184B)
----lint.sh(199B)
----release.sh(99B)

网友评论