This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Water on aqueduct not rendered in Mapnik

0

The Pont-canal du Sart https://www.openstreetmap.org/#map=18/50.49353/4.13718 is a wide bridge for ships travelling the Belgian Canal du Centre.

The waterway object alone is rendered only very narrow (the width tag is being ignored) and it would not include the cycleways on both sides, hence I've added an area tagged man_made=bridge and layer=1, and there's a (smaller) natural=water area covering the canal surface, also tagged with layer=1 because this is recommended for objects ans ways on the bridge.

However, Mapnik would not render the water area, even not when I make its layer=2.

What should I do? Change the tagging? I think it is correct as it is, and I actually do not fancy adopting tagging to compensate for flaws in rendering. So if no one has an idea how to change tags in a senseful and correct way I would like to leave it as it is.

Can Mapnik be changed? Can I submit a bug report somewhere?

asked 26 Jan '17, 18:39

DerGuteDiktator's gravatar image

DerGuteDiktator
11223
accept rate: 0%


One Answer:

2

Hallo,

you should never change the tagging to obtain a particular result in 1 renderer, see Tagging for the Renderer

You can log a bug report for the default carto-css style on their github page.

Note that they (the carto-css developers) use Mapnik as a technology, so the problem you see in in the use of the technology, not in the technology itself. With Mapnik you can make many different maps, a few can be found on osm.org, but many more exist.

answered 27 Jan '17, 06:17

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

edited 27 Jan '17, 13:45

1

Thanks, I said that I'd only change the tags if there would be an alternative that is inherently just as correct, not tag it wrong just to fit the rendering result.

I didn't know that this is only due to the style and not of Mapnik, though, so thanks for the explanation!

You have posted the same link twice, albeit with different labels. Do you mean this page? https://github.com/mapbox/carto/issues

(27 Jan '17, 10:20) DerGuteDiktator

No, that's yet another style. I've updated the link above. It's under "gravitystorm"

(27 Jan '17, 13:44) escada

it won't update, the github link is https://github.com/gravitystorm/openstreetmap-carto

(27 Jan '17, 13:45) escada

Source code available on GitHub .