This node-based application
- loads a given kml
- extracts placemarks having an address but no coordinates
- takes the address and tries to resolve it to geo-coordinates using the HERE Geocoder API
- attaches the address back to the parsed entry and
- outputs the augmented kml file
- Get a HERE Developer Account, e.g. by picking a free plan.
- Provide this app with authentication to the Geocoder API. You have two options:
Either get an API Key, then add the following entry to .env (what is this?):
API_KEY={here-goes-your-key}
Alternatively, get App ID and App Code for Here Maps).
Add them to the .env
file like so:
APP_ID={your-app-id}
APP_CODE={your-app-code
- Install node
- clone this repo, install dependencies using npm
- Get a kml file that needs a coordinates lookup. Currently not more than 1 input file is supported
- Put it under
/data/input/
- run
npm start
in the project root folder - check the logs for errors and success messages. You can get more detailed logs by setting
DEBUG=true
in config.js
Developed during a data integration task while working for FixMyCity.
Not sure if I find the time, but if this is useful to some one and if this gets picked up
- support more than one file
- provide example data