Updated XMLConfigReference (markdown)

herm 2012-09-14 16:54:41 -07:00
parent 581a4a9bb0
commit f6ff14f6b0

@ -18,14 +18,14 @@ The Map object defines the master object of a mapnik configuration XML. It defin
* Element type: Root element * Element type: Root element
* Attributes: * Attributes:
* *bgcolor*: HTML color code for the background-color of the map (for instance #000000) * *background-color*: HTML color code for the background-color of the map (for instance #000000)
* renamed to 'background-color' in Mapnik2. * 'bg-color' before Mapnik2.
* *background-image*: Available in Mapnik2: use an image for the background instead of a color fill. * *background-image*: Available in Mapnik2: use an image for the background instead of a color fill.
* *font-directory*: Available in Mapnik2: pass a directory that contains fonts, which will automatically be registered if they end in ttf, otf, ttc, pfa, pfb, ttc, or dfont. * *font-directory*: Available in Mapnik2: pass a directory that contains fonts, which will automatically be registered if they end in ttf, otf, ttc, pfa, pfb, ttc, or dfont.
* *srs*: Coordinate system in which the map is rendered (for instance '+proj=latlong+datum=WGS84' for a WGS84 Geographic coordinate system) * *srs*: Coordinate system in which the map is rendered (for instance '+proj=latlong+datum=WGS84' for a WGS84 Geographic coordinate system)
* *buffer-size*: Default 0; Good value is usually tile size/2 to help avoid cut labels. This influences envelope used by placement detector ( i.e. 'avoid_edges' parameter) * *buffer-size*: Default 0; Good value is usually tile size/2 to help avoid cut labels. This influences envelope used by placement detector ( i.e. 'avoid_edges' parameter)
* *paths-from-xml*: Check if relative paths should be interpreted as relative to/from XML location (default is true) * *paths-from-xml*: Check if relative paths should be interpreted as relative to/from XML location (default is true)
* *minimum-version*: Declare the minimum version of mapnik to be used with the stylesheet. Example: minimum-version="0.6.1". Will print a notice if you use an older mapnik version. (Since r1453) * *minimum-version*: Declare the minimum version of mapnik to be used with the stylesheet. Example: minimum-version="0.6.1". Will print a notice if you use an older mapnik version.
* Children: * Children:
* *[#Style Style]* * *[#Style Style]*
@ -125,6 +125,7 @@ A Style object defines the way objects can be rendered. A Mapnik configuration
* *[[BuildingSymbolizer]]* * *[[BuildingSymbolizer]]*
* *[[RasterSymbolizer]]* * *[[RasterSymbolizer]]*
* *[[MarkersSymbolizer]]* * *[[MarkersSymbolizer]]*
* *[[DebugSymbolizer]]*
Also see [[SymbologySupport]] for more info on Symbolizers Also see [[SymbologySupport]] for more info on Symbolizers