I posted on stackoverflow before to find this website. so here is my my post. I retreived europe.osm database with osm2pgsql. And now I try to exploit it. Is there a way to get the state, country, region, from a way like a town hamlet locality or city? http://wiki.openstreetmap.org/wiki/Nominatim databases osm format : if someone can provide me the SQL Query to retreive the information. asked 23 Apr '12, 15:52 Christophe D... SimonPoole ♦ |
I presume you have a full Nominatim installation as described on the installation page not just an osm2pgsql import. Doing SQL queries on the database directly is a bit involved. You can get administrative information much easier by sending reverse requests directly to your local installation. If you have the OSM id of your way, send something like: If you still want to go down the SQL road, have a look at the answered 24 Apr '12, 08:36 lonvia thanks I didn't make the full nominatim install because I've allready a geo request system, I need just to make an import to my system.
(24 Apr '12, 09:23)
Christophe D...
Sorry but there is not place_addressline table
(24 Apr '12, 10:22)
Christophe D...
The
(24 Apr '12, 10:40)
lonvia
Ok I will follow the full installation. Thx
(24 Apr '12, 13:35)
Christophe D...
|