This man_made: pier should be a closed polygon but I can't figure out where the error is. If I use QuickOSM plugin in QGIS, it downloads as an outline.

Edit: my main problem is that it's rendering as an outline in Mapbox. I reached out to them and they said it's probably not closed in OSM.

asked 26 Oct '20, 23:36

Jfact0ry's gravatar image

accept rate: 0%

edited 27 Oct '20, 08:43

scai's gravatar image

scai ♦

QuickOSM is using GDAL/OGR to convert the OSM data into geometries. From somewhere it is reading an osmconf.ini:

On line 7 there is a list of tags that will cause a closed OSM object to be treated as a polygon. Neither man_made or man_made=pier is on it.

There should be some way to feed QuickOSM a customized version of osmconf.ini.

I looked at the object in JOSM, it's currently a closed way.

permanent link

answered 27 Oct '20, 02:03

maxerickson's gravatar image

accept rate: 31%


Are piers not ambiguous enough to require area=yes?

(27 Oct '20, 08:33) InsertUser

The tag man_made=pier is somewhat special. Most tags clearly either signify that a way is to be interpreted as a line (highway) or as a polygon (landuse). You can use the area=yes/no tag to overwrite this, but there is a clear either/or decision here. But man_made=pier is different, it is to be understood as a polygon if it is a closed way and as a line if it is not closed. There is probably software out there that can't handle this.

permanent link

answered 27 Oct '20, 07:42

Jochen%20Topf's gravatar image

Jochen Topf
accept rate: 30%

The OSM wiki doesn't really clarify how a closed way is to be treated when it comes to man_made=pier. Based on my own data usage, I get the sense that many systems treat a closed way as a loop of pier, not an area. I always add area=yes if a closed way pier is an area.

(28 Oct '20, 21:19) alester
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 26 Oct '20, 23:36

question was seen: 314 times

last updated: 28 Oct '20, 21:19

powered by OSQA