Hi GS-community,
i was trying to send a WMS request with a user layer and an
inlineFeature-GML to a geoserver 1.3.0. The request looks closely like
this:
<GetMap version="1.2.0" service="WMS" xsi:schemaLocation="http://www.opengis.net/ows D:/workspace/RouteService/WEB-INF/classes/../../schemas/sld/GetMap.xsd" xmlns="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sld="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml">
<sld:StyledLayerDescriptor version="1.0.0">
<sld:UserLayer>
<sld:Name>AvoidAreas</sld:Name>
<sld:InlineFeature>
<FeatureCollection xmlns="">
<gml:featureMember>
<gml:MultiPolygon>
<gml:polygonMember>
<gml:Polygon>
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates ......
... Very much polygon members ....
<sld:PolygonSymbolizer>
<sld:Fill>
<sld:CssParameter name="fill">#FA0000</sld:CssParameter>
<sld:CssParameter name="fill-opacity">0.7</sld:CssParameter>
</sld:Fill>
</sld:PolygonSymbolizer>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:UserLayer>
</sld:StyledLayerDescriptor>
<BoundingBox srsName="http://www.opengis.net/gml/srs/epsg.xml#31463">
<gml:coord>
<gml:X>3430748.94</gml:X>
<gml:Y>5794695.62</gml:Y>
</gml:coord>
<gml:coord>
<gml:X>3431313.48</gml:X>
<gml:Y>5795758.34</gml:Y>
</gml:coord>
</BoundingBox>
<Output>
<Format>image/png</Format>
<Transparent>false</Transparent>
<BGcolor>#FFFFFF</BGcolor>
<Size>
<Width>400</Width>
<Height>400</Height>
</Size>
</Output>
<Exceptions>application/vnd.ogc.se+xml</Exceptions>
</GetMap>
But i get this exception:
"Duplicate AttributeTypes DefaultAttributeType [name=polygonMember ,
type=class com.vividsolutions.jts.geom.Geometry , nillable=true,
min=1, max=1]"
What does this mean? I was looking in the gml-spec and the request
seems fully valid as it is.
Is it a bug?
Kind regards
Albrecht