[GraphHopper] coordinate search by name

Дмитрий Пучков d-puchkov at mail.ru
Thu Jul 4 11:28:41 UTC 2013


 Thank you very much!


Четверг,  4 июля 2013, 4:24 -07:00 от Razvan C <raku_cmr at yahoo.com>:
>gisgraphy.com - have some database dumps but are old, are from 2011.
>csv dumps are like this:
>1 : id; openstreetmap Id(was null in last version)
>2 : name; The name 
>3 : location; The middle point of the street in HEXEWKB
>4 : length ; Length of the street in meters
>5 : countrycode; The iso3166 Alpha2 Code of the country 
>6 : is_in ; where the street is located (generally the city)
>7 : type; The type of street (see bellow)
>8 : oneway; Whether the street is a one way street
>9 : shape; The delimitation of the street in HEXEWKB 
>From: Peter K <peathal at yahoo.de>
>To: GraphHopper Java routing engine <graphhopper at openstreetmap.org> 
>Sent: Thursday, July 4, 2013 2:19 PM
>Subject: Re: [GraphHopper] coordinate search by name
>
>This is not that easy as you'll have to
      combine street names with cities (+village+country+zipcode) names
      while the import ...
>
>Also if you do it this way I would rather use a real search engine
      like lucene or elasticsearch.
>
>Regards,
>Peter.
>
>>An idea is to import roads shapefiles from geofabrik.de in spatialite and make a sqlite database.
>>After that you can search database for street names.
>>Resulted SQLite database contains also the path of a
            street (a collection of geopoints) so you can reverse make a
            reverse geocoding.
>> 
>>From: Peter K mailto:peathal at yahoo.de
>>To: GraphHopper Java routing engine mailto:graphhopper at openstreetmap.org
>>Sent: Thursday, July 4, 2013 1:53 PM
>>Subject: Re: [GraphHopper] coordinate search by name
>>
>>Hey Dmitriy,
>>
>>such a name search is not available offline (yet)
                    but if you have internet access you can use
                    NominatimGeocoder
>>
>>Regards,
>>Peter.
>>
>>>Good day!
>>>I need to search  coordinate

                        search by name(String) .
>>>I understood the class com.graphhopper.serch but unfortunately did not understand how to use it.
>>>Please, tell me how to get the longitude and
                        latitude of the location by name ?
>>>
>>>I'm sorry that I asked a lot of questions !
>>>
>>>-- 
>>>Dmitriy Puchkov
>
>
>_______________________________________________
>GraphHopper mailing list
>GraphHopper at openstreetmap.org
>http://lists.openstreetmap.org/listinfo/graphhopper
>
>
>_______________________________________________
>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/20130704/8bf4093e/attachment.html>


More information about the GraphHopper mailing list