diff --git a/LinePatternSymbolizer.md b/LinePatternSymbolizer.md index c71df5d..a04f660 100644 --- a/LinePatternSymbolizer.md +++ b/LinePatternSymbolizer.md @@ -1,5 +1,10 @@ -## Configuration Options for LinePatternSymbolizer +[[Symbolizer|SymbologySupport]] that specifies rendering of repeated png, tiff, or svg symbol to create a line. For example, a cliff edge. +Used as an alternative to a [[LineSymbolizer]]. + +![Showing a cliff on openstreetmap.org](http://a.tile.openstreetmap.org/18/141423/87855.png) + +## Configuration Options | *parameter* | *value* | *default* | *accepts expressions* | |---|---|---|---| | file | path to image file | none | mapnik >= 2.0 | @@ -12,29 +17,20 @@ *Note* that the line direction matters! ## Examples -A natural=cliff tag on an OpenStreetMap tile, rendered with LinePatternSymbolizer. - -![Showing a cliff on openstreetmap.org](http://a.tile.openstreetmap.org/18/141423/87855.png) ### Default - -#### XML - +### XML ```xml ``` - #### Python - - ```python l = LinePatternSymbolizer('/path/to/icon.png','png',10,10) # file, type, width, height ``` #### C++ - ```cpp rule_type rule; rule.append(line_pattern_symbolizer("/path/to/icon.png", "png", 20, 20)); // file, type, width, height