0

Is it possible to make offline public transport routing? What services should I use and what steps are? I'm developing in iOS platform.

6
  • 1
    Your question is too broad, you need to narrow down the scope. And yes it is definitely possible. Apr 7, 2016 at 12:49
  • Yes, I would recommend having a look at the ArcGIS Runtime SDK for iOS, it supports fully offline routing and geocoding. Here is a sample from their GitHub page. They have samples in both Swift and Objective-C.
    – crmackey
    Apr 7, 2016 at 13:15
  • @crmackey are you sure public transport routes are available in this service? don't find any confirmations on their site. Apr 7, 2016 at 13:54
  • Ah, I missed that detail when I read your post. You can do this with public transport routing, you would just need to build the network yourself. In the sample I posted, Esri has created a network for the streets of San Francisco and published it as a tile package.
    – crmackey
    Apr 7, 2016 at 14:14
  • @crmackey thanks, just built the sample but haven't no idea how to build public transport routing in it. Could you give some links, what I services I should investigate etc.? :-) Apr 8, 2016 at 7:22

1 Answer 1

1

As per my comments, I would recommend having a look at the ArcGIS Runtime SDK for iOS, it supports fully offline routing and geocoding. Here is a sample from their GitHub page. They have samples in both Swift and Objective-C.

You will have to build the public transportation network yourself, but maybe you can find shapefiles/feature classes on line for the public transit for a starting point. This part requires having access to ArcGIS software and the Network Analyst extension. Here is how to set up a network dataset, and here is how to add routing capabilities to that network dataset.

And actually after a quick google search, looks like google maps has added offline support that can be used in iOS too, so this may be a better option. However, I do not know if they will have the public transportation networks you're looking for.

Not the answer you're looking for? Browse other questions tagged or ask your own question.