Package sld
[hide private]
[frames] | no frames]

Package sld

source code

StyledLayerDescriptor library for generating SLD documents.

SLD documents are used to style cartographic representations of geometric features in most professional and desktop GIS applications.

Specification

The SLD specification is available from the Open Geospatial Consortium, at http://www.opengeospatial.org/standards/sld

License

Copyright 2011-2014 David Zwarg <david.a@zwarg.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Author: David Zwarg

Contact: david.a@zwarg.com

Copyright: 2011-2014, Azavea

License: Apache 2.0

Version: 1.0.10

Submodules [hide private]
  • sld.test: Test suite for the StyledLayerDescriptor python library.

Classes [hide private]
  SLDNode
A base class for all python objects that relate directly to SLD elements.
  CssParameter
A css styling parameter.
  CssParameters
A collection of CssParameter nodes.
  StyleItem
Abstract base class for all nodes that contain a list of CssParameter nodes.
  Fill
A style specification for fill types.
  Font
A style specification for font types.
  Stroke
A style specification for stroke types.
  Symbolizer
Abstract base class for all symbolizer nodes.
  PolygonSymbolizer
A symbolizer for polygon geometries.
  LineSymbolizer
A symbolizer for line geometries.
  TextSymbolizer
A symbolizer for text labels.
  Mark
A graphic mark for describing points.
  Graphic
A Graphic node represents a graphical mark for representing points.
  PointSymbolizer
A symbolizer for point geometries.
  PropertyCriterion
General property criterion class for all property comparitors.
  Filter
A filter object that stores the property comparitors.
  Rule
A rule object contains a title, an optional Filter, and one or more Symbolizers.
  Rules
A collection of Rule nodes.
  FeatureTypeStyle
A FeatureTypeStyle node contains all Rule objects applicable to a specific layer.
  UserStyle
A UserStyle object.
  NamedLayer
A named layer contains a name and a user style.
  StyledLayerDescriptor
An object representation of an SLD document.

Imports: parse, Element, XMLSchema, tostring, urlopen, NamedTemporaryFile, os, copy, logging