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

I try to use this http://polygons.openstreetmap.fr/index.py to create polygons for multiple cities, but I run into an issue of some cities having errors when I try to create polygons. For example, 537353788 does not work and it gives me the following error: http://polygons.openstreetmap.fr/index.py?id=537353788

Any idea how to correct/who to contact?

asked 27 Oct '20, 15:08

NelaM99's gravatar image

NelaM99
11112
accept rate: 0%

How did you arrive at the number 537353788?

(27 Oct '20, 15:13) Frederik Ramm ♦

Are you talking about Абай? Its geometry is already defined as a polygon ("closed way" in OSM terms). The page you are referring to is used to convert OSM relations (including multipolygons) into polygons.

(27 Oct '20, 15:30) TZorn

Yes, it is Abay. The number is the Place ID number that I get at the bottom of this page: https://nominatim.openstreetmap.org/ui/details.html?osmtype=R&osmid=421007&class=place

(27 Oct '20, 15:41) NelaM99
1

The link you gave does not show the ID 537353788 for me. If you have a Nominatim query for this village, try adding &polygon_geojson=1 to the Nominatim request to download it in GeoJSON form. Else, you could potentially use Overpass Turbo to export a single OSM object as GeoJSON. If you are exporting many such boundaries, save yourself the hassle and load OSM data into a PostGIS database with osm2pgsql and then export stuff from there.

(27 Oct '20, 15:49) Frederik Ramm ♦

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:

×24

question asked: 27 Oct '20, 15:08

question was seen: 644 times

last updated: 28 Oct '20, 09:06

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