[GraphHopper] GraphHopper Digest, Vol 41, Issue 6

Razvan C raku_cmr at yahoo.com
Mon Jun 10 13:17:15 UTC 2013


For Geocoding I think you can take a look to                  Nominatim                  tool (http://wiki.openstreetmap.org/wiki/Nominatim).
>We're already using nominatim for the web demo. This            can't be used for Android for several reasons. Or what was            the question :) ?
>
>What are the reason?
You cannot use nominatim if you want offline geocoding. This    would mean to port nominatim to android is impossible. If you want    online geocoding then offline routing is senseless too IMO. 

But using a graphhopper webservice from Android is easy: have a look    into the web project and copy & paste GraphHopperWeb to your    project and use it instead of 'GraphHopper.java'. Then, to use    nominatim, you can use NominatimGeocoder
 
If you want to make an offline GPS you will need a nominatim option, because requesting a user to tap on map for getting a route is not so right.
Why is impossible to port nominatim to Android, taking in account that you don't port whole World but just a portion? 

________________________________
 From: "graphhopper-request at openstreetmap.org" <graphhopper-request at openstreetmap.org>
To: graphhopper at openstreetmap.org 
Sent: Monday, June 10, 2013 4:05 PM
Subject: GraphHopper Digest, Vol 41, Issue 6
  

----- Forwarded Message -----

Send GraphHopper mailing list submissions to
    graphhopper at openstreetmap.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.openstreetmap.org/listinfo/graphhopper
or, via email, send a message with subject or body 'help' to
    graphhopper-request at openstreetmap.org

You can reach the person managing the list at
    graphhopper-owner at openstreetmap.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GraphHopper digest..."

Today's Topics:

   1. Re: Speed Limits (Peter K)


 
Maxspeed (http://wiki.openstreetmap.org/wiki/Maxspeed) / Speed limits (http://wiki.openstreetmap.org/wiki/Speed_limits) are defined in OSM. 
>Again: we already parse maxspeed for cars 
>
>How can I get maxspeed in Android?
>   
you can only get the speed which could be defined due to the
    maxspeed tag but it could be also without limit and defined via the
    highway type:

// the speed in km/h
vehicleEncoder.getSpeed(edgeIterator.flags())


For Geocoding I think you can take a look to Nominatim tool (http://wiki.openstreetmap.org/wiki/Nominatim).   
>We're already using nominatim for the web demo. This can't be used for Android for several reasons. Or what was the question :) ? 
>
>What are the reason?   
You cannot use nominatim if you want offline geocoding. This would mean to port nominatim to android is impossible. If you want online geocoding then offline routing is senseless too IMO. 

But using a graphhopper webservice from Android is easy: have a look
    into the web project and copy & paste GraphHopperWeb to your
    project and use it instead of 'GraphHopper.java'. Then, to use
    nominatim, you can use NominatimGeocoder

Regards,
Peter.
 
_______________________________________________
GraphHopper mailing list
GraphHopper at openstreetmap.org
http://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130610/51a42961/attachment-0001.html>


More information about the GraphHopper mailing list