*Styled Layer Descriptor profile of the Web Map Service* : DescribeLayer
http://www.opengeospatial.org/standards/sld
Defining a user-defined style requires information about the features being
symbolized, or at least their feature/coverage type. Since user-defined styles
can be applied to a named layer, there needs to be a mechanism by which a
client can obtain feature/coverage-type information for a named layer. This is
another example of bridging the gap between the WMS concepts of layers and
styles and WFS/WCS concepts such as feature-type and coverage layer. To allow
this, a WMS may optionally support the DescribeLayer request.
DescribeLayer method has been thought to be a better approach than overloading
the WMS capabilities document even more.
For each named layer, the description should indicate if it is indeed based on
feature data and if so it should indicate the WFS/WCS (by a URL prefix) and
the feature/coverage types. Note that it is perfectly valid for a named layer
not to be describable in this way.
The offline layers were duplicated, now the automatically inserted one is
removed and only the one at the restored place is preserved.
Followup 46490d4
Before only provider fields where created in the local database while it was
attempted to copy every field in the layer (including virtual fields and
joins) introducing a crash.
This commit itself just removes dead code, but the previous commits bring:
- OTF reprojection support
- use can specify exact tolerance (not just non-sense relative value)
- tolerance can be specified either in map units or layer units
- tolerance settings are stored in settings
- simplify multiple features at once (drag a rectangle instead of just clicking)
- support for multi-part features
- statistics about reduction of the number of vertices
The functionality can be used in other renderers too, the only requirement
is that legend nodes need to specify their parent rule key via data().
Note that ayer tree model must have ShowLegendAsTree flag enabled, otherwise
the model will keep showing lists instead of trees.