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

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.

https://www.openstreetmap.org/way/406477559#map=18/57.05036/-135.32801

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

Jfact0ry
366171831
accept rate: 0%

edited 27 Oct '20, 08:43

scai's gravatar image

scai ♦
33.3k21309459


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

https://github.com/OSGeo/gdal/blob/master/gdal/data/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

maxerickson
12.7k1083176
accept rate: 32%

1

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
5.2k55074
accept rate: 31%

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

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:

×67
×11
×8
×1

question asked: 26 Oct '20, 23:36

question was seen: 1,035 times

last updated: 28 Oct '20, 21:19

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