Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LilithWittmann/VectorTileExporter
Just some scripts to export vector tiles to geojson.
https://github.com/LilithWittmann/VectorTileExporter
Last synced: 3 months ago
JSON representation
Just some scripts to export vector tiles to geojson.
- Host: GitHub
- URL: https://github.com/LilithWittmann/VectorTileExporter
- Owner: LilithWittmann
- License: mit
- Created: 2021-05-04T20:56:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-23T13:28:01.000Z (over 3 years ago)
- Last Synced: 2024-05-15T04:35:21.001Z (6 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 77
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Vector tiles to GeoJSON
Nowadays modern web maps are usually based on [vector tiles](https://en.wikipedia.org/wiki/Vector_tiles).
The great thing about vector tiles is, that they are not just images but basically encoded representations of map data that can be decoded again.
In this repository there are two scripts, that allow you to download and parse web maps based on vector tiles that are hosted in the [Mapbox format](https://en.wikipedia.org/wiki/Vector_tiles#Protocol_buffers_(Mapbox)):
- `scraper.py` - helps you in downloading vector tiles from a map server inside certain boundaries;
- `parser.py ` - parses layers out of the downloaded vector tiles and converts them into [GeoJSON](https://en.wikipedia.org/wiki/GeoJSON).Before use those scripts [install requirements using PIP](https://pip.pypa.io/en/latest/user_guide/#requirements-files).
**NOTE:** This is only a proof of concept 😉.