eduha / map2gpx

map2gpx lets you trace paths on maps (for hiking for instance) and export them to GPX or KML formats.

Home Page:https://map2gpx.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

map2gpx

Demo

For the French version, see map2gpx.fr. For the international version, see map2gpx.eu.

How to rebuild

Pre-requisites:

  1. Install nodejs
  2. In the checkout, install the dependencies: npm install
  3. Run npm run lrm-graphhopper-fixup
  4. Web-server with PHP installed

Rebuild:

  • gulp pack just re-bundle and generate www-fr and www-en folders.

Generated files

Output comes in two flavors:

  • www-fr to use GeoPortail maps and APIs (only available in France) - driven by index-fr.html
    • You will need your own API key if you want to test/run it
  • www-en to use services available worldwide (maps from OpenStreetMap, Thunderforest, OpenTopoMap, Hike & Bike, Hillshading and APIs from MapQuest, GrapHopper) - driven by index-en.html
    • Thunderforest, MapQuest and GraphHopper requires API keys. Even if the API keys provided here may work for you, please use your own API key if you to test/run it

Customize

If you want to add more services, feel free to create an issue, submit a pull request, or even fork the project and run it by yourself.

About

map2gpx lets you trace paths on maps (for hiking for instance) and export them to GPX or KML formats.

https://map2gpx.fr/

License:MIT License


Languages

Language:HTML 55.0%Language:JavaScript 37.1%Language:PHP 4.9%Language:CSS 3.0%