From: Alexander S. <ale...@wh...> - 2008-11-28 12:20:14
|
Hello i would like to do an insert WFS-T into a PostGis Datastore with this command <wfs:Transaction service="WFS" version="1.1.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:topp="http://www.openplans.org/topp" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd http://www.openplans.org/topp http://localhost:8180/geoserver170a/wfs/DescribeFeatureType?typename=topp:edit_mulitpolygon <http://localhost:8180/geoserver170a/wfs/DescribeFeatureType?typename=topp:wfs_test_mulitpolygon>"> <wfs:Insert> <topp:edit_multipolygon> <topp:the_geom> <gml:MultiPolygon srsName="http://www.opengis.net/gml/srs/epsg.xml#4326 <http://www.opengis.net/gml/srs/epsg.xml#31467>"> <gml:Polygon> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates decimal="." cs="," ts=" ">31,60 35,56 37,51 31,60 </gml:coordinates> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </gml:MultiPolygon> </topp:the_geom> </topp:edit_multipolygon> </wfs:Insert> </wfs:Transaction> After this there is a new entry in the Datastore table, but the_geom is empty. It looks like this SRID=4326;MULTIPOLYGON ((EMPTY)). What is the problem! Can anybody help? Thank you. Alex |