<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">This is not that easy as you'll have to
combine street names with cities (+village+country+zipcode) names
while the import ...<br>
<br>
Also if you do it this way I would rather use a real search engine
like lucene or elasticsearch.<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote
cite="mid:1372936463.97986.YahooMailNeo@web161705.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div><span>An idea is to import roads shapefiles from
geofabrik.de in spatialite and make a sqlite database.</span></div>
<div><span>After that you can search database for street names.</span></div>
<div><span>Resulted SQLite database contains also the path of a
street (a collection of geopoints) so you can reverse make a
reverse geocoding.</span></div>
<div> </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"> <font face="Arial" size="2"> <b><span
style="font-weight: bold;">From:</span></b> Peter K
<a class="moz-txt-link-rfc2396E" href="mailto:peathal@yahoo.de"><peathal@yahoo.de></a><br>
<b><span style="font-weight: bold;">To:</span></b>
GraphHopper Java routing engine
<a class="moz-txt-link-rfc2396E" href="mailto:graphhopper@openstreetmap.org"><graphhopper@openstreetmap.org></a> <br>
<b><span style="font-weight: bold;">Sent:</span></b>
Thursday, July 4, 2013 1:53 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: [GraphHopper] coordinate search by name<br>
</font> </div>
<div class="y_msg_container"><br>
<div id="yiv810150288">
<div>
<div class="yiv810150288moz-cite-prefix">Hey Dmitriy,<br>
<br>
such a name search is not available offline (yet)
but if you have internet access you can use
NominatimGeocoder<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote type="cite"> Good day!<br>
<span class="yiv810150288"
id="yiv810150288result_box" lang="en"><span
class="yiv810150288hps">I need to</span> <span
class="yiv810150288hps">search </span><span>coordinate
search by name(String)</span>.<br>
<span class="yiv810150288hps">I</span> <span
class="yiv810150288hps">understood the</span> <span
class="yiv810150288hps">class</span> <span
class="yiv810150288hps">com.graphhopper.serch</span>
<span class="yiv810150288hps">but</span> <span
class="yiv810150288hps">unfortunately</span> <span
class="yiv810150288hps">did not understand how</span>
<span class="yiv810150288hps">to use it.</span><br>
<span class="yiv810150288hps">Please, tell me</span>
<span class="yiv810150288hps">how to get the</span>
<span class="yiv810150288hps">longitude and
latitude of</span> <span
class="yiv810150288hps">the location</span> <span
class="yiv810150288hps">by name</span><span>?</span></span><br>
<br>
<span class="yiv810150288short_text"
id="yiv810150288result_box" lang="en"><span
class="yiv810150288hps">I'm sorry</span> <span
class="yiv810150288hps">that</span> <span
class="yiv810150288hps">I asked</span> <span
class="yiv810150288hps">a lot of questions</span></span>!<br>
<br>
-- <br>
Dmitriy Puchkov<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>