[Gvsig_english] SLD problems
Simone Casciaroli
simone.casciaroli at gmail.com
Thu Jun 21 11:04:14 CEST 2007
hi list,
I tested the sld generated from gvSIG but there are some problems.
The sld generated don't contain namespace and xml prefix.
This obviously create some mistakes, for example the element
NamedLayer and the element Filter look to have the same namespace, but
seeing the xsd http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd
the namespaces are different:
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.0.0">
<NamedLayer>
<Name>cn_part.shp</Name>
<UserStyle>
<FeatureTypeStyle>
<FeatureTypeName>AREA</FeatureTypeName>
<Rule>
<Name>0.31362 - 6187.20652</Name>
<Filter>
<And>
<PropertyIsGreaterThanOrEqualTo>
<PropertyName>AREA</PropertyName>
<Literal>0.31362</Literal>
</PropertyIsGreaterThanOrEqualTo>
<PropertyIsLessThanOrEqualTo>
<PropertyName>AREA</PropertyName>
<Literal>6187.20652</Literal>
</PropertyIsLessThanOrEqualTo>
</And>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#FF0000</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#B20000</CssParameter>
<CssParameter Name="stroke-width">1.0</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Filter>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
More information about the Gvsig_internacional
mailing list