Opened 11 years ago

Closed 5 years ago

#1013 closed enhancement (wontfix)

[roads] Take lanes key into account when rendering

Reported by: PhilippeP Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

It would be great if highways would have different rendering according to lanes key.

Default would be 2 for highway=motorway,trunk,primary,secondary, tertiary,unclassified,residential,service ...

Default would be 1 for highway=*_link,track,byway,cycleway,footway ...

Change History (6)

comment:1 Changed 11 years ago by Tom Hughes

Owner: changed from Tom Hughes to steve8@…

Punting to Steve, but this would be horribly expensive to do so probably won't happen until mapnik is better able to handle it.

comment:2 Changed 11 years ago by PhilippeP

It seems just a question on adding a (few) new rule(s) with some 'And lanes=' in it. (I did try it on the style editor on osm.nl but it did not work , it reacted as there was no 'lanes' tag at all ...) Kosmos do this easily ...

comment:3 Changed 11 years ago by Tom Hughes

I think you need to reconsider the value of "few" in that statement. There are many, many rules for rendering roads (probably a hundred or more) each of which would need to be duplicated several times. That is not something which scales sensibly.

There are seven basic roads types I think, each of which has three basic rules (core, casing and text) which gives us 21 rules. Those 21 rules are then repeated several times for different zoom levels (not all 21 rules will appear at lower zooms) in addition to which there are extra versions for bridge, tunnels, etc... Basically there is a combinatoric growth that is already out of control without adding extra dimensions of variation to the pot.

comment:4 Changed 10 years ago by Ldp

Owner: changed from steve8@… to mapnik-team@…

comment:5 Changed 5 years ago by math1985

Summary: Take lanes key into account when rendering[roads] Take lanes key into account when rendering

comment:6 Changed 5 years ago by math1985

Resolution: wontfix
Status: newclosed

I think the width of roads should express the importance of the road, not the number of lanes. Some single lane roads can be very important. I therefore don't think we should implement this, and will close this issue as wontfix.

If you disagree, feel free to reopen the issue on the new issue tracker on https://github.com/gravitystorm/openstreetmap-carto/.

Note: See TracTickets for help on using tickets.