I have calculated a short distance route using my own algorithm which will give a vector file as a output. Now I want to show it on openstreet map. I don't know how to do that. Can anyone help me? I am in a mess. Thanks

asked 24 Oct '19, 08:50

Eshita53's gravatar image

accept rate: 0%

If you have the capability to host a few html/javascript files yourself, then save your route as GeoJSON and throw together a small Leaflet web page that shows an OpenStreetMap layer plus your custom JSON. It shouldn't be more than 20 lines of code. If this is too much for you, use the web service umap.openstreetmap.fr and upload your GeoJSON file there.

permanent link

answered 24 Oct '19, 08:52

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 24 Oct '19, 08:50

question was seen: 654 times

last updated: 24 Oct '19, 08:52

powered by OSQA