Is it possible to make offline public transport routing? What services should I use and what steps are? I'm developing in iOS platform.
-
1Your question is too broad, you need to narrow down the scope. And yes it is definitely possible.– Hasan MustafaApr 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.– crmackeyApr 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.– Alexander YakovlevApr 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.– crmackeyApr 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.? :-)– Alexander YakovlevApr 8, 2016 at 7:22
1 Answer
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.