[GraphHopper] graphhopper ios

Jordi Urmeneta jordi.urmeneta at gmail.com
Wed Jan 14 10:05:09 UTC 2015


Hello,

What I'm trying to do is to create an iOS app doing the same that the
current graphhopper ios sample, but with the map of Barcelona.

I know how to prepare the graph files, but I don't know where's the map
file in the graphhopper-ios sample.

As Peter said, there's no mapsforge library. This is why I'm asking, I
don't see the .map file :)


Thanks!





On 14 January 2015 at 10:54, Peter <graphhopper at gmx.de> wrote:

>  GraphHopper is only about routing and so we use mapforge as an example
> for visualization on Android. Mapsforge is not (really) available for iOS
> and we needed a different solution there. But if you have an Android App
> then maybe using robovm might be a good solution, although we do not have
> any experience with this yet.
>
> Kind Regards,
> Peter
>
> On 14.01.2015 10:49, Jordi Urmeneta wrote:
>
> Hello,
>
>  Ok, I see.
>
>  Do you know how can I change the .map file? I mean, the visual map.
> Where is this file? In the android version there's a .map file.
>
>
>
>  Thank you!
>
>  Jordi Urmeneta.
>
>
> On 14 January 2015 at 09:44, Calin Seciu <calinseciu at gmail.com> wrote:
>
>> Yes, *./graphhopper-ios-sample/import-sample.sh* is responsible for
>> downloading the map. It simply downloads it from
>> http://download.geofabrik.de and moves it at *./graphhopper/*
>> *graph-data.osm.pbf*. Then it uses *./graphhopper.sh import *
>> *graph-data.osm.pbf* while `cwd`=*./graphhopper*, which is the default
>> import method from GraphHopper
>> https://github.com/graphhopper/graphhopper/blob/master/docs/android/index.md.
>>
>> It's just an example to make things easier at first. You can import the
>> map however you like.
>>
>>  Also there are instructions for importing Germany on the same page:
>> https://github.com/graphhopper/graphhopper-ios/tree/master/graphhopper-ios-sample
>>
>>  Calin
>>
>>
>>  On Jan 14, 2015, at 10:28 AM, Peter <graphhopper at gmx.de> wrote:
>>
>> I think you'll have to specify the file name here:
>> ./graphhopper-ios-sample/import-sample.sh <your-area.pbf>
>> or change it directly in the script, but Calin probably knows more :)
>>
>> Regards,
>> Peter
>>
>> On 13.01.2015 17:46, Jordi Urmeneta wrote:
>>
>> Hello,
>>
>> I'm trying to understand the graphhopper ios sample starting with the map.
>>
>> Do you know where's the romania's map and how can i change it?
>>
>>
>> Thanks!
>>
>>
>>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150114/289a452d/attachment.html>


More information about the GraphHopper mailing list