Hot answers tagged routing
You have not specified any mobile platform so i am answering here for the most popular android platform. If you want to render the map in android device you can then use mapsforge library. There is a plugin for osmosis called mapwriter that will help you convert the .osm data into .map data which can be rendered using the mapsforge library. .map is a binary ...
thank you for choosing OSM to realize that project :) Sadly our strength is creating a map and communication/docs is still WIP. Please understand, that OSM is a geodatabase and thus it can be used in very different ways to create services and offer this data offline. I say this to make clear e.g. that there is an API, but that isn't tuned for your specific ...
id2 59721224 for example is the edge that connects vertex IDs 2 and 3. That's why the last record has a value of -1. Edge ID is the id you specify in the first argument (SQL query) of the pgr_dijkstra function. In your case it's the gid of the table named wp_norway_network1. Because pgr_dijkstra requires the column name id, you had to write gid AS id.
The eventual solution i came up with was to create shortest distance line features within each polygon. The use case for this application is to optimize collector cable routing for wind farms. This video shows how the optimizer might be used http://www.youtube.com/watch?v=aGFsLe0EcF8
Only top voted, non community-wiki answers of a minimum length are eligible