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

I currently have a tileserver set up (so just a postgres database made with osm2pgsql), and I want to add support for routing. Is there any way that I can use a routing service that I can also use offline on mobile? Like the mobile device (iOS or Android) would cache some map data when it had a network connection, and then later use the cached data to do routing locally. Is it actually possible to somehow compile OSRM, gosmore, OTP, etc. to work on those devices?

asked 10 Sep '14, 22:33

rutgers_oss's gravatar image

rutgers_oss
16112
accept rate: 0%


https://graphhopper.com/ is what comes to mind if you want to run the same engine both mobile and hosted. However the functionality that you are looking for (daynamically downloading data for routing) is unlikely to be found anywhere, nor do I believe that the use case exists in the form you are thinking of (the mobile device would have to predict when it is going to loose connectivity so that it could download data in advance).

permanent link

answered 11 Sep '14, 06:53

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 11 Sep '14, 06:56

I actually only have to download information once, since I'm working with a very small subset of the world (small enough that it's reasonable to download it all in one go).

That project looks cool, is there any way to get to work on iOS? If not, is there a way I could another multimodal router for iOS?

(12 Sep '14, 22:20) rutgers_oss

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:

×305
×85
×42
×10

question asked: 10 Sep '14, 22:33

question was seen: 4,524 times

last updated: 12 Sep '14, 22:20

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