openstreetmap / trac-tickets

Archived Trac Tickets
1 stars 1 forks source link

Forest rendering problem #2994

Open openstreetmap-trac opened 3 years ago

openstreetmap-trac commented 3 years ago

Reporter: Dmitriy.Ovdienko[at]gmail.com [Submitted to the original trac issue database at 5.49am, Saturday, 22nd May 2010]

merkaartor incorrectly renders forest.

Steps to reproduce

  1. Press Ctrl+G and go to http://www.openstreetmap.org/?lat=50.3719&lon=30.7036&zoom=15

  2. Point mouse to cemetery

  3. Scroll to increase scale to x16

Expected: Forest is near the town boundary

In fact: Forest is drown over the cemetery

Merkaartor v.0.15.3

openstreetmap-trac commented 3 years ago

Author: Koying [Added to the original trac issue at 8.26am, Saturday, 22nd May 2010]

Dmitriy, would you mind testing with the win32 nightlies now that 0.16 is nearing?

openstreetmap-trac commented 3 years ago

Author: Dmitriy.Ovdienko[at]gmail.com [Added to the original trac issue at 8.02pm, Saturday, 22nd May 2010]

Attached 016*.gif

openstreetmap-trac commented 3 years ago

Author: Koying [Added to the original trac issue at 7.28pm, Sunday, 23rd May 2010]

The problem is that this specific forest has a peculiar construct.

Rather than being 1 closed way, it is 2 non-closed way merged into a relation (why?) Unfortunately, Merkaartor do not handle areas at the relation level, so the 2 ways are treated independently. Filling non-closed ways can lead to unpredictable results (as shown here).

If you join the 2 ways making the forest, the problem disappear.

I'll keep the ticket open as a future task but there is little I can do without making profound changes to the painting process...