Hello,

The path indicated for graphhopper files is:
https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L78

On the other hand, as you said the translation files are loaded from
classpath, but I don't know how to change it it ios.

Concretely, this line appears inside the doImport method, which I suppose
is related with the translations path:

trMap doImportWithJavaIoInputStream:[[IOSClass
classWithClass:[TranslationMap class]] getResourceAsStream:JreStrcat("$$",
locale, @".txt")]];

Any idea about how to change it?


Thank you.

Best regards,

Jordi Urmeneta.

On 11 May 2015 at 13:13, <[email protected]> wrote:

>  The initialization of GraphHopper
> <https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L80>
> (in the sample app) happens here
> https://github.com/graphhopper/graphhopper-ios/blob/master/graphhopper-ios-sample/graphhopper-ios-sample/Directions.m#L80
>  and
> no paths are set at this time.
>
> The actual loading of the translation files happen in GraphHopper itself,
> I think here
> https://github.com/graphhopper/graphhopper/blob/ios-compat/core/src/main/java/com/graphhopper/GraphHopper.java#L92
> So as you can see the `doImport()` method loads the translation files from
> classpath.
>
> I am not sure how this can be changed, but I think this is a question more
> suited for GraphHopper than the iOS port.
>
>
> *From:* Jordi Urmeneta <[email protected]>
> *Sent:* ‎Monday‎, ‎May‎ ‎11‎, ‎2015 ‎1‎:‎42‎ ‎PM
> *To:* GraphHopper <[email protected]>
>
> Hello,
>
> Do you happen to know if it's possible to change the route of the
> translations? I mean, the translations folder is needed to be always in the
> same path.
>
> Could I indicate another path?
>
>
>
> Thank you!!
>
>
> Best regards,
>
> Jordi Urmeneta.
>
>
> _______________________________________________
> GraphHopper mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to