Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Better way of indicating width for linesymbolizer. #78

Closed
artemp opened this Issue Oct 11, 2011 · 0 comments

Comments

Projects
None yet
2 participants
Owner

artemp commented Oct 11, 2011

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

{{{
2992 <Style name="roads">
2993
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

}}}

@springmeyer springmeyer closed this Sep 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment