Hi,

Please file a ticket with complete POST requests. I am remembering that 
Geoserver may also return wfs:SUCCESS if transaction is only partly successful, 
like attributes gets updated but geometry not. Unfortunately I do not remember 
right now how to reproduce. It  feels like I was playing with Tasmania roads 
feature type back then.

-Jukka Rahkonen-

Alessandro Pasotti wrote:

Hi All,
I'm testing the official geoserver 2.8.2 on Linux, I've enabled WFS-T 
transactional on all workspaces.
I'm doing some insert tests using topp: roads, state_boundaries and cities as 
test layers for linestrings, polygons and points.
Using QGIS as a client, this works:
- insert on cities
This doesn't:
- insert on roads and state_boundaries
First issue: geoserver returns <wfs:SUCCESS/> (no errors and no warnings in the 
logs)  but data are not inserted in the shapefiles.

By comparing example XML I've tracked down the problem (at least for 
linestrings) to the simple GML used by QGIS, compared with the multi geometry 
GML used in the geoserver demo requests (which works):
QGIS (silently fails):
<the_geom xmlns="http://www.openplans.org/topp";>
        <gml:LineString srsName="EPSG:4326">
                    <gml:coordinates cs="," ts=" ">146.1911....

GeoServer Demo Requests (works):
<topp:the_geom>
<gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";>
          <gml:lineStringMember>
            <gml:LineString>
              <gml:coordinates decimal="." cs="," ts=" ">146.1911....


I believe that geoserver should not return <wfs:SUCCESS/> if data are not saved 
(should I file a ticket?) but I'm unsure about the (multi)geometry issue: is 
that a requirement from the specs that simple geometries (in this case 
LineString) are encoded as Multi?


--
Alessandro Pasotti
w3:   www.itopen.it<http://www.itopen.it>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to