OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2018-05-14 09:54:27

swi1988
Member
Registered: 2018-05-14
Posts: 7

How to get region informations for a given geo position

Hello,
I'm new in OpenStreetMap and want to use Nominatim to get region based informations for a given coordinate.

For example the coordinates of the town Sassnitz on the island Rügen:
https://nominatim.openstreetmap.org/rev … =13.644510

Is it possible to receive the island name "Rügen" for this geo coordinate?

Another example is the town Deggendorf. This town is a city in the low mountain range (Mittelgebierge, Bayrischer Wald)
https://nominatim.openstreetmap.org/rev … 12.9606800
How can i use Nominatim to extract informations like "Bayrischer Wald?"

Offline

#2 2018-05-14 15:20:03

escada
Moderator
Registered: 2011-08-13
Posts: 1,506

Re: How to get region informations for a given geo position

The first question is always: is this information in OpenStreetMap.
For the name of the island, it probably is.
For the Bayrischer Wald, I doubt it, as this is a region without well defined boundaries.

Then if it is in OSM, you need to know how it is mapped. Rügen is probably not mapped as an administrative region, so it will not show up in the "stack" you get for a given coordinate (afaik).

So I fear that the current implementation of Nominatim cannot return the answers you are looking for.
Perhaps someone else will prove me wrong.

Offline

#3 2018-05-15 06:58:41

R0bst3r
Member
Registered: 2015-04-23
Posts: 499

Re: How to get region informations for a given geo position

Bayrischer Wald is not found via nominatim. Rügen is found and mapped as island.

The object query at osm.org returns the island https://www.openstreetmap.org/query?lat … on=13.4245
Maybe this query can be done by Overpass?

Offline

#4 2018-05-15 07:15:23

escada
Moderator
Registered: 2011-08-13
Posts: 1,506

Re: How to get region informations for a given geo position

Yes, Rügen is mapped and when you search for Rügen Nominatim will return the location of the island. But when you search for an address, Nominatim only returns administrative entities. It will never return geographic entities like islands, forests, etc.

Offline

#5 2018-05-16 10:10:18

swi1988
Member
Registered: 2018-05-14
Posts: 7

Re: How to get region informations for a given geo position

Thank you! Yeah, I think I need both services . Fast reverse geocoding for locations and overpass for more informations about a region or a island. Can I use the same database for Nominatim and Overpass? i want to install both services on a single server

Last edited by swi1988 (2018-05-24 13:09:01)

Offline

#6 2018-12-29 17:52:55

Sathyagis
Member
Registered: 2018-12-29
Posts: 1

Re: How to get region informations for a given geo position

Here you can find  reverse geo coding Technics on OSM
https://sathyasreek.blogspot.com/2018/1 … treet.html

Offline

Board footer

Powered by FluxBB