3.10.12. DotSymbolizer

…​TODO…​

Table 33. DotSymbolizer Attributes
Attribute Type Default Description

height

float

1.0

width

float

1.0

fill

color

gray

opacity

float

1.0

comp-op

string

src-over

Example 65. DotSymbolizer width-height
<?xml version="1.0" encoding="utf-8"?>
<Map background-color="white">
  <FileSource name="symbols">./symbols</FileSource>

  <Style name="style">
    <Rule>
      <DotSymbolizer height="[height]" width="[width]" fill="red"/>
      <TextSymbolizer face-name="DejaVu Sans Book" allow-overlap="true" dy="20">[width]+","+[height]</TextSymbolizer>
    </Rule>
  </Style>

  <Layer name="layer">
    <StyleName>style</StyleName>
    <Datasource>
      <Parameter name="type">csv</Parameter>
      <Parameter name="inline">
wkt,width,height
"POINT(0 0)",10,10
"POINT(1 0)",20,10
"POINT(2 0)",10,20
      </Parameter>
    </Datasource>
  </Layer>

</Map>
dot