I tried to perform a transaction update, but it failed with this exception message:
java.lang.RuntimeException: Parsing failed for
Point: com.vividsolutions.jts.util.AssertionFailedException
Parsing failed for Point:
com.vividsolutions.jts.util.AssertionFailedException
Here's the update request sent:
service="WFS"
version="1.1.0"
xmlns:topp="http://www.openplans.org/topp"
xmlns:SDSDupdate="http://localhost:8080/geoserver/SDSDupdate"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
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">
the_geom
15.453680224345835, 74.25796508789062
pid
cd607b28-6ac5-85d1-bbb1-c880efbce4d9
Is it the problem with PostGIS schema or with GML point coordinates being sent?
EDIT: Error performing insert: Error inserting features
service="WFS"
version="1.1.0"
xmlns:topp="http://www.openplans.org/topp"
xmlns:SDSDupdate="http://localhost:8080/geoserver/SDSDupdate"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
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">
the_geom
15.453680224345835, 74.25796508789062
pid
cd607b28-6ac5-85d1-bbb1-c880efbce4d9
As suggested by NMS here is the new post to the edited part: Geoserver WFST Insert Exception: Error performing insert: Error inserting features
Answer
It seems to be the problem with GML request your sending.
There should be no white space after the comma, that gives you the Parsing error. Here is the corrected snapshot of your request:
15.453680224345835,74.25796508789062
No comments:
Post a Comment