<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
</div>
<blockquote
cite="mid:1370867284.35280.YahooMailNeo@web161703.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt"><span>
<div><span>Maxspeed
(<a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Maxspeed">http://wiki.openstreetmap.org/wiki/Maxspeed</a>) / Speed
limits (<a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Speed_limits">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><strong>How can I get maxspeed in Android?</strong><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
cite="mid:1370867284.35280.YahooMailNeo@web161703.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt"><span>
<blockquote type="cite">
<div class="ms__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="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Nominatim">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><strong>What are the reason?</strong></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>
</body>
</html>