NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

Eshita53
11112
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 ♦
82.5k927201273
accept rate: 23%

Follow this question

By Email:

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

By RSS:

Answers

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:

×100

question asked: 24 Oct '19, 08:50

question was seen: 1,053 times

last updated: 24 Oct '19, 08:52

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum