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

hi I want to develop an UWP app (a Windows phone app) which shows a map on a user interface. When user select 2 points it should shows the shortest path on the map. I am going to implement the dijkstra's algorithm to find the shortest path.I can implement this algorithm if I have map data. I just don't understand how to start. How to integrate openstreet map with my UWP app and how to get map data.

Please help me, Thanks

asked 05 Jan '18, 08:26

swiftDroid's gravatar image

accept rate: 0%

edited 05 Jan '18, 22:44

nevw's gravatar image


Basically there are 3 solutions:

  • you use the API of a 3rd party provider to specify 2 points and let them calculate the route. This will probably cost you money to use their API, but you do no have to create a routing algorithm, nor do you have to download OSM data.
  • You download OSM-data to a local server, transform that data in such a way that you can develop a routing algorithm. Then you create an API on top of that server which you call from your UWP app (a Windows phone app)
  • You do the same as in step 2, but move the data to the phone (so-called off line maps) instead of keeping it on the server. This is the approach, OsmAnd, MagicEarth etc. use
permanent link

answered 05 Jan '18, 10:48

escada's gravatar image

accept rate: 21%

Thank you so much for the great clarification :)

(08 Jan '18, 02:41) swiftDroid

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]( "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: 05 Jan '18, 08:26

question was seen: 3,196 times

last updated: 08 Jan '18, 02:41

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