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

Render all roads with an equal width in Mapnik

0

Is there any easy way to render all roads and paths with an equal width in Mapnik? In the rendition below, all lines have the same line width, but since many of the bigger roads have many lanes or parallel roads that are (nearly) overlapping, they seem fatter.

My source for Mapnik is a PostGIS database with OSM data.

Any ideas?

alt text

asked 06 Oct '15, 19:34

meriri2's gravatar image

meriri2
11112
accept rate: 0%

closed 06 Oct '15, 21:17

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

I didn't find this place until after I posted the question on Stack Exchange. Would you consider reopening the question if I close the one on Stack Exchange? This seems like a better forum for this question.

(06 Oct '15, 23:21) meriri2

@meriri2: okay, although there already is one answer now. Having two places where relevant answers can be for the same question is not good for the resource usage of all of us.

(06 Oct '15, 23:28) aseerel4c26 ♦

Source code available on GitHub .