[feature = 'highway_residential'], [feature = 'highway_unclassified'] { [zoom >= 13] { line-color: @residential-casing; line-width: @residential-width-z13; [zoom >= 14] { line-width: @residential-width-z14; } [zoom >= 15] { line-width: @residential-width-z15; } [zoom >= 16] { line-width: @residential-width-z16; } [zoom >= 17] { line-width: @residential-width-z17; } [zoom >= 18] { line-width: @residential-width-z18; } [zoom >= 19] { line-width: @residential-width-z19; } .roads-casing { line-join: round; line-cap: round; } .tunnels-casing { line-dasharray: 4,2; } .bridges-casing { [zoom >= 14] { line-color: @bridge-casing; line-join: round; } } } } [feature = 'highway_road'] { [zoom >= 14] { line-color: @road-casing; line-width: @road-width-z14; [zoom >= 16] { line-width: @road-width-z16; } [zoom >= 17] { line-width: @road-width-z17; } [zoom >= 18] { line-width: @road-width-z18; } [zoom >= 19] { line-width: @road-width-z19; } .roads-casing { line-join: round; line-cap: round; } .tunnels-casing { line-dasharray: 4,2; } .bridges-casing { line-color: @bridge-casing; line-join: round; } } }
<Rule> <!--Zoom{>=13}--> <MaxScaleDenominator>100000</MaxScaleDenominator> <Filter>([feature] = 'highway_residential')</Filter> <LineSymbolizer stroke="#bbbbbb" stroke-dasharray="4, 2" stroke-width="2.5"></LineSymbolizer> </Rule> <Rule> <!--Zoom{>=13}--> <MaxScaleDenominator>100000</MaxScaleDenominator> <Filter>([feature] = 'highway_tertiary')</Filter> <LineSymbolizer stroke="#8f8f8f" stroke-dasharray="4, 2" stroke-width="4"></LineSymbolizer> </Rule> <Rule> <!--Zoom{>=13}--> <MaxScaleDenominator>100000</MaxScaleDenominator> <Filter>([feature] = 'highway_secondary')</Filter> <LineSymbolizer stroke="#707d05" stroke-dasharray="4, 2" stroke-width="5"></LineSymbolizer> </Rule> <Rule> <!--Zoom{>=13}--> <MaxScaleDenominator>100000</MaxScaleDenominator> <Filter>([feature] = 'highway_primary')</Filter> <LineSymbolizer stroke="#a06b00" stroke-dasharray="4, 2" stroke-width="5"></LineSymbolizer> </Rule> <Rule> <!--Zoom{>=13}--> <MaxScaleDenominator>100000</MaxScaleDenominator> <Filter>([feature] = 'highway_trunk')</Filter> <LineSymbolizer stroke="#c84e2f" stroke-dasharray="4, 2" stroke-width="6"></LineSymbolizer> </Rule> <Rule> <!--Zoom{>=13}--> <MaxScaleDenominator>100000</MaxScaleDenominator> <Filter>([feature] = 'highway_motorway')</Filter> <LineSymbolizer stroke="#dc2a67" stroke-dasharray="4, 2" stroke-width="6"></LineSymbolizer> </Rule> <Rule> <!--Zoom{>=12}--> <MaxScaleDenominator>200000</MaxScaleDenominator> <Filter>([feature] = 'highway_tertiary')</Filter> <LineSymbolizer stroke="#8f8f8f" stroke-dasharray="4, 2" stroke-width="2.5"></LineSymbolizer> </Rule> <Rule> <!--Zoom{>=12}--> <MaxScaleDenominator>200000</MaxScaleDenominator> <Filter>([feature] = 'highway_secondary')</Filter> <LineSymbolizer stroke="#9eae23" stroke-dasharray="4, 2" stroke-width="3.5"></LineSymbolizer> </Rule>
CLASS # Zoom{>=13} MAXSCALEDENOM 100000 EXPRESSION ('[feature]' = 'highway_residential') STYLE WIDTH 2.5 PATTERN 4 2 END COLOR "#bbbbbb" LINECAP BUTT LINEJOIN MITER END END CLASS # Zoom{>=13} MAXSCALEDENOM 100000 EXPRESSION ('[feature]' = 'highway_tertiary') STYLE WIDTH 4 PATTERN 4 2 END COLOR "#8f8f8f" LINECAP BUTT LINEJOIN MITER END END CLASS # Zoom{>=13} MAXSCALEDENOM 100000 EXPRESSION ('[feature]' = 'highway_secondary') STYLE WIDTH 5 PATTERN 4 2 END COLOR "#707d05" LINECAP BUTT LINEJOIN MITER END END
background-color building-fill building-fill-opacity building-height dot-fill dot-opacity dot-width dot-height dot-comp-op line-cap line-clip line-color line-dasharray line-dash-offset line-gamma line-gamma-method line-join line-miterlimit line-offset line-opacity line-rasterizer line-simplify line-simplify-algorithm line-smooth line-width line-comp-op line-geometry-transform line-pattern-file line-pattern-clip line-pattern-opacity line-pattern-simplify line-pattern-simplify-algorithm line-pattern-smooth line-pattern-offset line-pattern-geometry-transform line-pattern-comp-op marker-allow-overlap marker-file marker-fill marker-fill-opacity marker-height marker-line-color marker-line-width marker-line-opacity marker-opacity marker-placement marker-spacing marker-transform marker-type marker-width marker-multi-policy marker-avoid-edges marker-ignore-placement marker-max-error marker-clip marker-simplify marker-simplify-algorithm marker-smooth marker-geometry-transform marker-offset marker-comp-op marker-direction point-file point-allow-overlap point-opacity point-transform point-ignore-placement point-placement point-comp-op polygon-fill polygon-gamma polygon-gamma-method polygon-opacity polygon-clip polygon-simplify polygon-simplify-algorithm polygon-smooth polygon-geometry-transform polygon-comp-op polygon-pattern-alignment polygon-pattern-file polygon-pattern-gamma polygon-pattern-opacity polygon-pattern-clip polygon-pattern-simplify polygon-pattern-simplify-algorithm polygon-pattern-smooth polygon-pattern-geometry-transform polygon-pattern-comp-op shield-allow-overlap shield-avoid-edges shield-character-spacing shield-clip shield-dx shield-dy shield-face-name shield-file shield-fill shield-halo-fill shield-halo-radius shield-halo-rasterizer shield-halo-transform shield-halo-comp-op shield-halo-opacity shield-line-spacing shield-min-distance shield-min-padding shield-name shield-opacity shield-placement shield-placement-type shield-placements shield-transform shield-simplify shield-simplify-algorithm shield-smooth shield-comp-op shield-size shield-spacing shield-text-dx shield-text-dy shield-text-opacity shield-text-transform shield-wrap-before shield-wrap-character shield-wrap-width shield-unlock-image shield-margin shield-repeat-distance shield-label-position-tolerance shield-horizontal-alignment shield-vertical-alignment shield-justify-alignment text-allow-overlap text-avoid-edges text-character-spacing text-clip text-dx text-dy text-face-name text-font-feature-settings text-fill text-halo-fill text-halo-radius text-halo-opacity text-halo-rasterizer text-halo-transform text-halo-comp-op text-line-spacing text-min-distance text-min-padding text-name text-opacity text-orientation text-placement text-placement-type text-placements text-size text-spacing text-transform text-wrap-before text-wrap-character text-wrap-width text-repeat-wrap-characater text-ratio text-label-position-tolerance text-max-char-angle-delta text-vertical-alignment text-horizontal-alignment text-justify-alignment text-margin text-repeat-distance text-min-path-length text-rotate-displacement text-upgright text-simplify text-simplify-algorithm text-smooth text-comp-op text-largest-bbox-only raster-opacity raster-scaling raster-colorizer-default-mode raster-colorizer-default-color raster-colorizer-stops raster-comp-op raster-filter-factor raster-mesh-size raster-colorizer-epsilon
polygon-fill polygon-gamma polygon-gamma-method polygon-opacity polygon-clip polygon-simplify polygon-simplify-algorithm polygon-smooth polygon-geometry-transform polygon-comp-op
polygon-fill polygon-gamma polygon-opacity