https://github.com/dbabbs/geojson-shape-tool
Tool to access to GeoJSON administrative region polygons
https://github.com/dbabbs/geojson-shape-tool
heremaps leaflet
Last synced: 7 months ago
JSON representation
Tool to access to GeoJSON administrative region polygons
- Host: GitHub
- URL: https://github.com/dbabbs/geojson-shape-tool
- Owner: dbabbs
- Created: 2018-11-15T19:41:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-07T16:19:35.000Z (almost 7 years ago)
- Last Synced: 2025-03-21T07:14:16.532Z (about 1 year ago)
- Topics: heremaps, leaflet
- Language: JavaScript
- Homepage: https://dbabbs.github.io/geojson-shape-tool/
- Size: 2.72 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GeoJSON Shape Tool
__[View live tool](https://dbabbs.github.io/geojson-shape-tool)__
This tool enables access to administration level polygon boundaries. You can access shapes from the following administration levels:
- country
- state
- county
- city
- district
- postal code

## Usage
1. Search for a administrative region, like `California`, `Singapore`, or `South Africa`
2. Select which administrative level you would like
3. The map will draw the administrative region on the map. If this is the region you would like, click `Download GeoJSON`
4. The tool will download a `FeatureCollection` of GeoJSON with 1 feature.
## Usage with XYZ
This tool is great for augmenting your XYZ maps with boundaries.
Head to [XYZ Studio](https://xyz.here.com/studio) to upload the GeoJSON and add to your maps
## How this was made
- [HERE Map Tile API](https://developer.here.com/documentation/map-tile/topics/quick-start-map-tile.html) for the map tiles
- [Leaflet](https://leafletjs.com/) for the map display and control
- [HERE Geocoding API](https://developer.here.com/api-explorer/rest/geocoder/reverse-geocode-postal-shape) for access to the shapes
- [ESRI Terraformer](https://github.com/Esri/terraformer) for converting from WKT to GeoJSON
## Issues, Comments, or Questions
Please file an issue in this repository and add @dbabbs as a watcher. Happy mapping!