artemp/mapnik — Issue #78: Better way of indicating width for linesymbolizer.
Author: artemp
Created: 2011-10-11 15:55:43+00:00
State: open
Labels: Core_Library

To avoid duplicating rules for different zoomlevels, making it one simple way indicating multiple scaledemoniators. Example from osm.xml

{{{
2992
2994
2995
2996	[highway] = 'motorway' or [highway] = 'motorway_link'
2997	25000000
2998	5000000
2999
3000	#809bc0
3001	1
3002
3003
3004
3005
3006	[highway] = 'motorway' or [highway] = 'motorway_link'
3007	5000000
3008	1000000
3009
3010	#809bc0
3011	1.5
3012
3013
3014
3015
3016	[highway] = 'motorway' or [highway] = 'motorway_link'
3017	1000000
3018	500000
3019
3020	#809bc0
3021	2
3022
3023
3024
3025	[highway] = 'motorway' or [highway] = 'motorway_link'
3026	500000
3027	200000
3028
3029	#809bc0
3030	2.5
3031
3032
}}}

would become something like this.

{{{
[highway] = 'motorway' or [highway] = 'motorway_link'
25000000
200000

#809bc0
25000000:1,5000000:1.5,1000000:2,500000:2.5

}}}