Opened 9 years ago

Closed 7 years ago

#2112 closed defect (fixed)

Mapnik renders leisure=* on top of oceans

Reported by: DMaximus Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

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):
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:
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:
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.

Change History (8)

comment:1 Changed 9 years ago by DMaximus

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.

comment:2 Changed 9 years ago by Apo42

  • Summary changed from Mapnik renders leisure=nature_reserve on top of oceans to Mapnik renders leisure=* on top of oceans

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

comment:3 Changed 9 years ago by steve8@…

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:4 Changed 9 years ago by stefano.salvador@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

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

comment:5 Changed 8 years ago by Ldp

  • Owner changed from steve8@… to mapnik-team@…
  • Status changed from reopened to new

comment:6 in reply to: ↑ description Changed 7 years ago by Ldp

Replying to 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.

comment:7 Changed 7 years ago by vladimir.vyskocil@…

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

comment:8 Changed 7 years ago by Ldp

  • Resolution set to fixed
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.