[Qgis-user] QGIS and WFS-T with Geoserver

Robert Price rprice314 at yahoo.com
Tue Aug 18 11:51:11 PDT 2015


I am trying to use QGIS 2.4.0 to edit Oracle spatial geometries via WFS-T 1.0. I am getting casting errors in geoserver whenever I try to edit a geometry. The request being sent to geoserver is below. If I use a geoserver style request it works fine. The QGIS request seems properly formatted but throws the error. Has anyone else experienced this?

--QGIS format does not work<Transaction xmlns="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0"xmlns:cite="http://www.opengeospatial.net/cite" service="WFS" xsi:schemaLocation="http://www.opengeospatial.net/cite http://cfpe-azsec1:7027/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=cite:TESTGEO&SRSNAME=EPSG:4326"xmlns:gml="http://www.opengis.net/gml">  <UPDATE xmlns="http://www.opengis.net/wfs" typeName="cite:TESTGEO">    <Property xmlns="http://www.opengis.net/wfs" >      <Name xmlns="http://www.opengis.net/wfs" >BESTGEOMETRY</Name>      <Value xmlns="http://www.opengis.net/wfs" >        <gml:Point srsName="EPSG:4326" xmlns:gml="http://www.opengis.net/gml"><gml:coordinates decimal="." cs="," ts=" ">-122.417633,37.918415</gml:coordinates></gml:Point>      </Value>    </Property> <Filter xmlns="http://www.opengis.net/ogc"><FeatureId xmlns="http://www.opengis.net/ogc" fid="TESTGEO.4785484"/></Filter>  </UPDATE></Transaction>
--GeoServer Format does work
<wfs:Transaction service="WFS" version="1.0.0"  xmlns:topp="http://www.openplans.org/cite"  xmlns:ogc="http://www.opengis.net/ogc"  xmlns:wfs="http://www.opengis.net/wfs"  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.0.0/WFS-transaction.xsd">  <wfs:Update typeName="cite:TESTGEO">    <wfs:Property>      <wfs:Name>bestgeometry</wfs:Name>      <wfs:Value>        <gml:Point srsName="EPSG:4326" xmlns:gml="http://www.opengis.net/gml"><gml:coordinates decimal="." cs="," ts=" ">-122.417633,37.918415</gml:coordinates></gml:Point>      </wfs:Value>    </wfs:Property>    <ogc:Filter>      <ogc:FeatureId fid="TESTGEO5204242"/>    </ogc:Filter>  </wfs:Update></wfs:Transaction>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150818/0bbdf678/attachment.html>


More information about the Qgis-user mailing list