This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Best circuit between 2 points

0

Hello

I am trying to create an application on android.

I have the following:

2 closed circuits (black and red) 1 starting point (blue) 1 endpoint (green)

I want to do the following:

Choose which circuit is the most optimal, according to the end point.

how can I do it? In what language should I program? What is the file format for the circuits? Kml?

alt text

asked 17 Nov '16, 21:36

Cristopher's gravatar image

Cristopher
11112
accept rate: 0%

Taking a step back from the platform and thinking a bit about what you're trying to do, I'd start by reading this previous question:

https://help.openstreetmap.org/questions/19213/how-can-i-convert-an-osm-xml-file-into-a-graph-representation

(17 Nov '16, 21:40) SomeoneElse ♦

Source code available on GitHub .