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

Mapnik renders leisure=* on top of oceans #2112

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

Mapnik renders leisure=* on top of oceans #2112

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

Comments

@openstreetmap-trac
Copy link

Reporter: DMaximus
[Submitted to the original trac issue database at 3.59pm, Wednesday, 29th July 2009]

Mapnik renders areas tagged with leisure=nature_reserve and boundary=national_park on top of oceans. This only occurs when the body of water is tagged with natural=coastline. Lakes tagged with natural=water and rivers are not covered up.

Example 1, showing a state park extending ~1 km into the Pacific Ocean (turning on the 'data' layer helps to show where the coastline actually is):[[BR]]
http://www.openstreetmap.org/?lat=33.5741&lon=-117.8403&zoom=13&layers=B000FTF

Example 2, again the data layer shows the coastline is covered up but also notice that the river just to the north is NOT covered, nor are the nearby wetlands:[[BR]]
http://www.openstreetmap.org/?lat=34.10174&lon=-119.09134&zoom=15&layers=B000FTF

Example 3, showing a correct rendering when the body of water is tagged natural=water:[[BR]]
http://www.openstreetmap.org/?lat=38.9734&lon=-120.0904&zoom=13&layers=B000FTF

It seems that the rules that render the lake and river over the nature_reserve are not being applied to coastlines.

@openstreetmap-trac
Copy link
Author

Author: DMaximus
[Added to the original trac issue at 2.19am, Thursday, 30th July 2009]

Just to clarify, it seems the park from Example 2 has been removed or is being updated, because at the moment it no longer appears on the latest tiles. The other examples are still valid.

@openstreetmap-trac
Copy link
Author

Author: Apo42
[Added to the original trac issue at 10.56pm, Sunday, 2nd August 2009]

changed title to be more generic,
other leisure=* areas are also rendered on top of the ocean.

@openstreetmap-trac
Copy link
Author

Author: steve8[at]mdx.ac.uk
[Added to the original trac issue at 10.53pm, Thursday, 13th August 2009]

Leisure=park fill made transparent. Hope this deals with it.

@openstreetmap-trac
Copy link
Author

Author: stefano.salvador[at]gmail.com
[Added to the original trac issue at 4.31pm, Sunday, 8th November 2009]

I reopen this ticket because for leisure=natural_reserve the problem still exists:

http://osm.org/go/0IMiPdN

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 12.50pm, Thursday, 17th March 2011]

Replying to [ticket:2112 DMaximus]:

It seems that the rules that render the lake and river over the nature_reserve are not being applied to coastlines.

That is due to the fact that the oceans are not an object in our database. There is nothing for mapnik to work with. The ocean on the map is actually the default background colour.

@openstreetmap-trac
Copy link
Author

Author: vladimir.vyskocil[at]wanadoo.fr
[Added to the original trac issue at 1.05pm, Thursday, 17th March 2011]

I think this one has been managed and now the rendering is ok, it can be closed.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 1.58pm, Thursday, 17th March 2011]

I was actually thinking the same thing. It's not completely obscuring the ocean anymore, but is semitransparent. The other issue with leisure=nature_reserve was also fixed by going from a solid fill to an overlay pattern.

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