Version 3 (modified by 15 years ago) ( diff ) | ,
---|
The Symbology Exchange: Vector Symbols
Welcome to The Symbology Exchange. This section is for vector symbols. Post your cool symbols here. We hope you find something useful.
Guidelines:
- Please post a description of your symbols. While "railroad" is useful, it doesn't indicate how your railroad symbol differs from anyone else's. Is it just different? Does it handle antialiasing and transparency at the same time? Does it look good at a wide variety of sizes?
- If you can post a link to see your symbol in action, that would be great.
Nice roads
Posted by HostGIS 2007-08-08
We use this styling for our roads. It gives them that nice thick effect, a la Google. The far-out roads are beige-yellow in color, giving way to grey-on-grey for the smaller roads.
The classifications used here are oriented around conventions used in the USA's TIGER street data: the CFCC field indicates the street's type, and range from A1 (interstate highway) to A7 (small road). It should be easily adaptable to other road data, though.
First, define a symbol for "solid":
SYMBOL NAME "line_solid" TYPE ellipse POINTS 1 1 END FILLED true END
Now for the classes and styling:
CLASSITEM "CFCC" CLASS EXPRESSION /^A[67]/ NAME "Other" MAXSCALE 30000 STYLE SYMBOL 'line_solid' COLOR 170 170 170 SIZE 1 END LABEL COLOR 0 0 0 OUTLINECOLOR 200 200 200 MINFEATURESIZE 10 FONT "Vera" TYPE truetype POSITION AUTO SIZE 8 END END CLASS EXPRESSION /^A[45]/ NAME "City" MAXSCALE 60000 STYLE SYMBOL 'line_solid' COLOR 180 180 180 SIZE 3 END STYLE SYMBOL 'line_solid' COLOR 255 255 255 SIZE 1 END LABEL COLOR 0 0 0 OUTLINECOLOR 200 200 200 MINFEATURESIZE 25 FONT "Vera" TYPE truetype POSITION AUTO ANGLE AUTO MINDISTANCE 200 BUFFER 10 OFFSET 0 -4 SIZE 9 END END CLASS EXPRESSION /^A[23]/ NAME "Highway" MAXSCALE 20000000 STYLE SYMBOL 'line_solid' COLOR 140 140 140 SIZE 5 END STYLE SYMBOL 'line_solid' COLOR 255 250 115 SIZE 3 END LABEL COLOR 0 0 0 OUTLINECOLOR 235 235 235 MINFEATURESIZE 10 FONT "Vera" TYPE truetype POSITION AUTO ANGLE AUTO PARTIALS FALSE OFFSET 0 -5 MINDISTANCE 250 BUFFER 15 SIZE 10 END END CLASS EXPRESSION /^A1/ NAME "Interstate" MAXSCALE 40000000 TEXT ([FENAME]) STYLE SYMBOL 'line_solid' COLOR 120 120 120 SIZE 6 END STYLE SYMBOL 'line_solid' COLOR 242 191 36 SIZE 4 END LABEL OUTLINECOLOR 235 235 235 COLOR 0 0 0 MINFEATURESIZE 10 FONT "Vera" TYPE truetype POSITION AUTO ANGLE AUTO OFFSET 0 -7 MINDISTANCE 300 BUFFER 15 PARTIALS FALSE SIZE 11 END END