[GraphHopper] Where is the Grapphoper.jar (Android)

Peter graphhopper at gmx.de
Wed Sep 10 07:58:25 UTC 2014


Hey Muhammad,

thanks for your interests in GraphHopper! Still I would like you that
you do some research before posting to the mailing list, especially if
you find several problems. In that case you can collect them into just
one a bit longer mail (As I would like to avoid that lots of people get
lots of mails). Secondly your question should be GraphHopper related
(the question regarding zoom level is mapsforge I think).

Now to your other questions:

>It's recommended to create graphs and then read them with the same
GraphHopper version, as there may be differences in the graph structure
as the library evolves.

Yes


> Does it mean that i have to use the SNAPHOT.0.4 that is automatically
created in ../core/target when routing data(Graph) is being made?
> using the command ./graphhopper.sh import <your-osm-file>?

It just means, if you create your graph with 0.3 you'll have to use 0.3
in your Android app. E.g. do

git checkout 0.3

Then you will see 0.3 in target and the created graph is compatible with
your Android jars.


> Check this https://github.com/graphhopper/graphhopper/issues/251
> I have found the bug in code

Your problem
<https://github.com/graphhopper/graphhopper/issues/251#issuecomment-55078568>
is not really a bug and not related to #251, because when we download
the zgh files the created folders have a different naming schema. So
when you copy to Android you'll have to make sure that you properly name
the folder.

Regards,
Peter.

On 10.09.2014 09:48, Muhammad Babar wrote:
> Why mapView.getMapZoomControls().setZoomLevelMin((byte) 10); takes
> byte its Java not C? it should be taking integer?
>
> I pass it 0 and app crashes?
>
> On Wed, Sep 10, 2014 at 12:39 PM, Muhammad Babar
> <babar.magma at gmail.com <mailto:babar.magma at gmail.com>> wrote:
>
>     @Emux
>     It's recommended to create graphs and then read them with the same
>     GraphHopper version, as there may be differences in the graph
>     structure as the library evolves.
>
>     Does it mean that i have to use the SNAPHOT.0.4 that is
>     automatically created in ../core/target when routing data(Graph)
>     is being made? using the command ./graphhopper.sh import
>     <your-osm-file>?
>
>     On Wed, Sep 10, 2014 at 12:14 PM, Emux <devemux86 at gmail.com
>     <mailto:devemux86 at gmail.com>> wrote:
>
>         GraphHopper 0.3 is the latest release version.
>         0.4-SNAPSHOT is just a tag of the master branch where the
>         current development takes place.
>
>         It's recommended to create graphs and then read them with the
>         same GraphHopper version, as there may be differences in the
>         graph structure as the library evolves.
>
>         -- 
>         Emux
>         Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
>         <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
>
>         _______________________________________________
>         GraphHopper mailing list
>         GraphHopper at openstreetmap.org
>         <mailto:GraphHopper at openstreetmap.org>
>         https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
>
>
> _______________________________________________
> 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/20140910/93e73d09/attachment.html>


More information about the GraphHopper mailing list