Hi list,

I have experienced a strange behaviour when inserting features through WFS-T into both shapefile or oracle spatial based datastores.

The first WFS-T insert on an empty featuretype completes successfully (according to the WFS-T response xml), and a record is written into either the shapefile or the dataset. Yet the features geometry seems to get lost during the process of inserting, a common GetFeatures response would look like:

<my-ns:my-ft gml:id="my-ft.1">
    <my-ns:THE_GEOM>
<gml:MultiSurface srsDimension="2" srsName="http://www.opengis.net/gml/srs/epsg.xml#25832";>
            <gml:surfaceMember>
                <gml:Polygon srsDimension="2">
                    <gml:exterior>
                        <gml:LinearRing srsDimension="2">
<gml:posList>0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0</gml:posList>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </gml:surfaceMember>
        </gml:MultiSurface>
    </my-ns:THE_GEOM>
</my-ns:my-ft>

The second insert however, will produce correct geometries that can both be viewed and also be edited.

I am using GeoServer 2.1.4 and WFS 1.1.0.

Thanks for any help and best regards,
Marc




------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to