<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span></span></div><blockquote type="cite"><div class="ms__id708" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><span><blockquote type="cite"><div class="yiv169894672ms__id694 ms__id709" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><div><span>For Geocoding I think you can take a look to Nominatim tool (<a class="yiv169894672moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Nominatim" target="_blank" rel="nofollow">http://wiki.openstreetmap.org/wiki/Nominatim</a>).</span></div></div></blockquote><div> We're already using nominatim for the web demo. This can't be used for Android for several reasons. Or what was
the question :) ?</div><div> </div><div><b>What are the reason?</b></div></span></div></blockquote><div> You cannot use nominatim if you want <b>offline</b> geocoding. This would mean to port nominatim to android is impossible. If you want online geocoding then offline routing is senseless too IMO. <br><br> 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</div><div> </div><div><strong>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.</strong></div><div><strong>Why is impossible to port nominatim to Android, taking in account that you don't port whole World but just a portion?</strong></div> <div style="font-family: arial, helvetica,
sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <div class="hr" style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" contenteditable="false" readonly="true"></div> <font face="Arial" size="2"> <b><span style="font-weight: bold;">From:</span></b> "graphhopper-request@openstreetmap.org" <graphhopper-request@openstreetmap.org><br> <b><span style="font-weight: bold;">To:</span></b> graphhopper@openstreetmap.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, June 10, 2013 4:05 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> GraphHopper Digest, Vol 41, Issue 6<br> </font> </div> <div class="y_msg_container"><br>----- Forwarded Message -----<br><br>
Send GraphHopper mailing list submissions to<br> <a href="mailto:graphhopper@openstreetmap.org" ymailto="mailto:graphhopper@openstreetmap.org">graphhopper@openstreetmap.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://lists.openstreetmap.org/listinfo/graphhopper<br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:graphhopper-request@openstreetmap.org" ymailto="mailto:graphhopper-request@openstreetmap.org">graphhopper-request@openstreetmap.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:graphhopper-owner@openstreetmap.org" ymailto="mailto:graphhopper-owner@openstreetmap.org">graphhopper-owner@openstreetmap.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of GraphHopper digest..."<br><br>Today's Topics:<br><br> 1. Re: Speed
Limits (Peter K)<br><div id="yiv169894672">
<div>
<div class="yiv169894672moz-cite-prefix"><br>
</div>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><span>
<div><span>Maxspeed
(<a class="yiv169894672moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Maxspeed" target="_blank" rel="nofollow">http://wiki.openstreetmap.org/wiki/Maxspeed</a>) / Speed
limits (<a class="yiv169894672moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Speed_limits" target="_blank" rel="nofollow">http://wiki.openstreetmap.org/wiki/Speed_limits</a>)
are defined in OSM.</span></div>
<div> Again: we already parse maxspeed for cars</div>
<div> </div>
<div><b>How can I get maxspeed in Android?</b><br>
</div>
</span></div>
</blockquote>
<br>
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:<br>
<br>
// the speed in km/h<br>
vehicleEncoder.getSpeed(edgeIterator.flags())<br>
<br>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><span>
<blockquote type="cite">
<div class="yiv169894672ms__id694" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<div><span>For Geocoding I think you can take a look to
Nominatim
tool (<a class="yiv169894672moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Nominatim" target="_blank" rel="nofollow">http://wiki.openstreetmap.org/wiki/Nominatim</a>).</span></div>
</div>
</blockquote>
<div> We're already using nominatim for the web demo. This
can't be used for Android for several reasons. Or what was
the question :) ?</div>
<div> </div>
<div><b>What are the reason?</b></div>
</span></div>
</blockquote>
<br>
You cannot use nominatim if you want <b>offline</b> geocoding. This
would mean to port nominatim to android is impossible. If you want
online geocoding then offline routing is senseless too IMO. <br>
<br>
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<br>
<br>
Regards,<br>
Peter.<br>
</div>
</div><br>_______________________________________________<br>GraphHopper mailing list<br><a href="mailto:GraphHopper@openstreetmap.org" ymailto="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br><br><br></div> </div> </div> </div></body></html>