From 7d592f73d640604f604fec7911d756bcf69f6975 Mon Sep 17 00:00:00 2001 From: Jez Nicholson Date: Tue, 23 Jan 2018 13:03:25 +0000 Subject: [PATCH] tweak layout --- LinePatternSymbolizer.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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