Error when inserting polygons into a postgis table via geoserver with wfs gml.
-------------------------------------------------------------------------------
Key: GEOS-1727
URL: http://jira.codehaus.org/browse/GEOS-1727
Project: GeoServer
Issue Type: Bug
Components: Transactions/Locking
Affects Versions: 1.6.0-RC3
Environment: WinXP, Apache Tomcat6.0, PostGIS
Reporter: Niclas Eklöw
Assignee: Andrea Aime
Priority: Minor
Im trying to insert polygon with openlayers as client via wfs-t geoserver to a postGIS polygon table.
The table is named trakt, with an trakt_id as id column (sequential). The layer name in geoserver is topp:trakt
This is the request sent to geoserver (as I see in firebug):
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" version="1.0.0" service="WFS"><wfs:Insert><feature
:trakt xmlns:feature="http://www.openplans.org/topp"><feature:the\_geom><gml:Polygon xmlns:gml="http:
//www.opengis.net/gml"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates decimal="." cs="," ts="
">1508056.640625,6745068.359375 1509912.109375,6743261.71875 1510937.5,6745849.609375 1508056.640625
,6745068.359375</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></feature:the_geom
</feature:trakt></wfs:Insert></wfs:Transaction>
The response from geoserver is this:
<?xml version="1.0" encoding="UTF-8"?><wfs:WFS_TransactionResponse version="1.0.0" xmlns:wfs="http:/
/www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-transaction
.xsd"><wfs:InsertResult><ogc:FeatureId fid="none"/></wfs:InsertResult> <wfs:TransactionResult> <wfs:Status
<wfs:FAILED/> </wfs:Status> <wfs:Message>Error performing insert</wfs:Message> </wfs:TransactionResult
</wfs:WFS_TransactionResponse>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira