map-machine icon indicating copy to clipboard operation
map-machine copied to clipboard

waterway=river is hidden behind natural=wood

Open Zero3 opened this issue 3 years ago • 6 comments

Example: https://www.openstreetmap.org/way/258695030

Can be fixed by setting priority to 22, since natural=wood has priority of 21. I did not consider if the priority should be even higher.

Zero3 avatar Apr 21 '22 21:04 Zero3

You're right. Thank you.

enzet avatar Apr 21 '22 23:04 enzet

I set the priority of waterways to 22. But I really don't like this priority solution. Really counter-intuitive. I have to refactor this or at least add some checks.

Notes for me: command is map-machine render -c 55.43238,10.29241 -s 800,600

enzet avatar Apr 23 '22 20:04 enzet

Hi, @Zero3! I've added a test for this, so as not to break the order if I want to refactor priority.

Could you please close this issue if you think it's done.

enzet avatar Apr 26 '22 21:04 enzet

Thanks. I will have a look once these changes arrive in the python3.8 branch.

Zero3 avatar Apr 28 '22 22:04 Zero3

Hi, @Zero3! Sorry for the late response. I've updated the branch, fixed Python version in documentation, and increased the project version. Could you please take a look and tell me if I forgot something.

enzet avatar May 19 '22 23:05 enzet

No worries! Thanks for the fix. I will check it when I get back to my map project. It might take a little while, but I will make sure to check it once I get back to it! :)

Zero3 avatar May 23 '22 22:05 Zero3

Hope this issue is done.

enzet avatar Oct 25 '22 20:10 enzet

Sorry I did not get time to re-test this in a reasonable timeframe. Good idea to close this - I can always create a new issue if I run into the problem again :+1:. Thanks again for fixing.

Zero3 avatar Sep 17 '23 14:09 Zero3