Krakonos / merkaartor-oldbugs

0 stars 0 forks source link

Forest rendering problem (redmine import 2994, Dmitriy-Ovdienko-gmail-com, created ) #81

Open Krakonos opened 9 years ago

Krakonos commented 9 years ago

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

Krakonos commented 9 years ago

Status changed from New to In ProgressDmitriy, would you mind testing with the win32 nightlies now that 0.16 is nearing?

Krakonos commented 9 years ago

Attached 016*.gif

Krakonos commented 9 years ago

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