NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

I am trying to obtain the polygon points from lat/lon coordinates of different buildings.

I have set up a Nominatim server with a map of Amsterdam (extracted from the geofabrik map of The Netherlands "Netherlands-latest.osm.pbf"). When I do polygon queries in most cases I do not get polygon information in the response. The same happens on the Nominatim Openstreetmap server. Example request: http://nominatim.openstreetmap.org/reverse.php?format=xml&lat=52.373912&lon=4.891633&zoom=18&polygon_svg=1&viewbox=

Also, I tried doing reverse search to obtain the street and number of a particular location and then use forward search but in most cases I did not get street and number in the results of the reverse search.

Am I doing something wrong with the request or should I import the database in a special way to support polygon-related requests?

Or is it possible that the region of Amsterdam center does not contain polygon information... I can see that a lot of requests for addresses in Ghent for example retrieve polygon info.

Thank you!

asked 03 Oct '17, 11:28

pesho318i's gravatar image

pesho318i
27335
accept rate: 0%

edited 04 Oct '17, 08:47

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×126
×92

question asked: 03 Oct '17, 11:28

question was seen: 1,421 times

last updated: 04 Oct '17, 08:47

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum