[Geocoding] Help needed for setting up Reverse Geocoding Database using OpenStreetMap Data

Sumit Gulati sumit at bossindia.in
Thu Jul 17 09:31:45 UTC 2014


Hi,

 

Thanks for your email and the links which you have provided. We do not want to install full planet OSM data but we would like to install data for GCC States only. So we have downloaded pbf file for GCC states (gcc-states-latest.osm.pbf) from http://download.geofabrik.de/. Pls suggest how to setup reverse geocoding database to get the correct address using a latitude and longitude coordinates using this pbf file of GCC States.

 

Best regards

Sumit Gulati

 

 

-----Original Message-----
From: Marc Tobias [mailto:mtm at opencagedata.com] 
Sent: 16 July 2014 18:22
To: geocoding at openstreetmap.org
Subject: Re: [Geocoding] Help needed for setting up Reverse Geocoding Database using OpenStreetMap Data

 

Hi,

 

Yes, there seems to be a slight difference when returning the city

 

 <http://nominatim.openstreetmap.org/reverse?format=xml&lat=25.236545&lon=55.291413&addressdetails=1> http://nominatim.openstreetmap.org/reverse?format=xml&lat=25.236545&lon=55.291413&addressdetails=1

 

     "road": "Sheikh Khalifa Bin Zayed Street",

     "residential": "Al Mankhool",

     "suburb": "Al Mankhool",

     "city": "Dubai",      <===

     "state": "دبي‎",        <===

     "postcode": "41974",

     "country": "United Arab Emirates",

     "country_code": "ae"

 

 

compared to

 

 <http://open.mapquestapi.com/nominatim/v1/reverse?format=json&lat=25.236545&lon=55.291413&addressdetails=1> http://open.mapquestapi.com/nominatim/v1/reverse?format=json&lat=25.236545&lon=55.291413&addressdetails=1

 

     "road": "Sheikh Khalifa Bin Zayed Street",

     "residential": "Al Mankhool",

     "suburb": "Al Mankhool",

     "city": "Sharjah",         <===

     "postcode": "41974",

     "country": "United Arab Emirates",

     "country_code": "ae"

 

My recent installation (behind a firewall) returns what  <http://nominatim.openstreetmap.org/> http://nominatim.openstreetmap.org/ is returning.

 

 

The installation instructions are on

 <http://wiki.openstreetmap.org/wiki/Nominatim/Installation> http://wiki.openstreetmap.org/wiki/Nominatim/Installation

Note that part about hardware requirements before you attempt to run in on an underpowered desktop or laptop or in a virtual machine.

 

marc tobias

 

 

 

 

> Date: Wed, 16 Jul 2014 13:41:16 +0530

> From: "Sumit Gulati" < <mailto:sumit at bossindia.in> sumit at bossindia.in>

> To: < <mailto:geocoding at openstreetmap.org> geocoding at openstreetmap.org>

> Subject: [Geocoding] Help needed for setting up Reverse Geocoding

>             Database             using OpenStreetMap Data

> Message-ID: < <mailto:00a301cfa0cd$8568ee20$903aca60$@bossindia.in> 00a301cfa0cd$8568ee20$903aca60$@bossindia.in>

> 

> Dear All,

> 

> 

> 

> We would like to use reverse geocoding to get the address from a 

> latitude and longitude position. We have used following API to get the 

> reverse geocoding information but it has usage limitation:

> 

> 

> 

>  <http://nominatim.openstreetmap.org/reverse?format=xml> http://nominatim.openstreetmap.org/reverse?format=xml

> <http://nominatim.openstreetmap.org/reverse?format=xml&lat=25.236545&lon=55.

> 291413&zoom=18&addressdetails=1>

> &lat=25.236545&lon=55.291413&zoom=18&addressdetails=1

> 

> 

> 

> Then we tried using following MapQuest API but it gives wrong address.

> Instead of Dubai address it's showing Sharjah address:

> 

> 

> 

>  <http://open.mapquestapi.com/nominatim/v1/search.php?q=25.236545%2C+55> http://open.mapquestapi.com/nominatim/v1/search.php?q=25.236545%2C+55.

> 291413

> <http://open.mapquestapi.com/nominatim/v1/search.php?q=25.236545%2C+55

> .29141 3&viewbox=-0.61%2C51.49%2C-0.59%2C51.48>

> &viewbox=-0.61%2C51.49%2C-0.59%2C51.48

> 

> 

> 

> So now we are trying to setup our own Reverse Geocoding Database. Pls 

> let us know how to setup our own reverse geocoding database to get the 

> correct address using a latitude and longitude coordinates using OSM Extracts Data.

> 

> 

> 

> Your help in this regard will be greatly appreciated. Thanks in 

> anticipation of a fruitful reply.

> 

> 

> 

> Best regards

> 

> Sumit Gulati

> 

 

 

_______________________________________________

Geocoding mailing list

 <mailto:Geocoding at openstreetmap.org> Geocoding at openstreetmap.org

 <https://lists.openstreetmap.org/listinfo/geocoding> https://lists.openstreetmap.org/listinfo/geocoding

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/geocoding/attachments/20140717/d433a0f7/attachment-0001.html>


More information about the Geocoding mailing list