GeoScript

Previous topic

style

Next topic

Shape

This Page

Symbolizer

class geoscript.style.symbolizer.Symbolizer

Base class for all symbolizers.

asSLD(out=<open file '<stdout>', mode 'w' at 0xbe>)

Serializes the symbolizer to SLD. The out argument is the file/output stream to write to.

range(min=-1, max=-1)

Applies a min/max scale denominator to the symbolizer.

where(filter)

Appies a filter to the symbolizer. The filter argument can be a CQL string or an instance of Filter.

zindex(z)

Applies a z-index to the symbolizer. Symbolizers with a higher z-index are drawn on top of those with a smaller z-index.