Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Streets surrounding parks area are'nt rendeder #1278

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Streets surrounding parks area are'nt rendeder #1278

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: edoardo[at]edoardomarascalchi.it
[Submitted to the original trac issue database at 2.04pm, Monday, 20th October 2008]

if a colosed way is used as boundary for a leisure=park area, in mapnik just the area will be rendered..

look at way 4073553
http://api.openstreetmap.org/api/0.5/way/407355

http://www.openstreetmap.org/?lat=45.07306&lon=11.782&zoom=17&layers=B000FTF

@openstreetmap-trac
Copy link
Author

Author: Harry Wood
[Added to the original trac issue at 5.05pm, Monday, 29th June 2009]

(17:56:01) zere: harry-wood: yeah, i think osm2pgsql chooses each feature as an area or a line. it looks like it needs to change that assumption

@openstreetmap-trac
Copy link
Author

Author: jburgess777[at]googlemail.com
[Added to the original trac issue at 11.21pm, Monday, 29th June 2009]

I have a patch I wrote about a year ago to implement this but in the end I decided that this is not the right answer.

I think a given way needs to represent a single feature, otherwise tags like name, ref, access etc become ambiguous. If I made the code generate both the linear and area features for these sorts of cases then it would render incorrectly for others, e.g. "highway=footway, area=yes".

I believe that creating two ways is the best answer here.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 3.03am, Monday, 10th August 2009]

Duplicated the way in question, tagged it as leisure=park, and removed that tag from the original way.

Doesn't solve this ticket in the strictest sense, but a "one element per feature" strategy sounds best in this case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant