Home > qgis > QGIS does not update data in Geoserver WFS-T

QGIS does not update data in Geoserver WFS-T

November 14Hits:1

I am trying to edit a WFS from geoserver (using PostGIS data) within QGIS.

This is the request as recorded by Fiddler

<Transaction xmlns="http://www.opengis.net/wfs"         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xmlns:NCT="nct"   service="WFS" xsi:schemaLocation="nct http://geonct.com:80/geoserver/NCT/wfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=NCT:vegetation&amp;SRSNAME=EPSG:3308&amp;username=******&amp;password=*******" xmlns:gml="http://www.opengis.net/gml"><Insert xmlns="http://www.opengis.net/wfs"><vegetation xmlns="nct"><veg_type xmlns="nct">erf</veg_type><nsw_status xmlns="nct">fse</nsw_status><comm_status xmlns="nct">fsef</comm_status><condition xmlns="nct">sef</condition><geom xmlns="nct"><gml:MultiPolygon srsName="EPSG:3308"><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates cs="," ts=" ">9316657.8686453141272068,4215674.37469049356877804 9319140.89504236727952957,4219581.4897564435377717 9325165.88556462526321411,4221553.30483645480126143 9332651.47984985634684563,4222466.182188312523067 9336302.98925728537142277,4222429.66709423810243607 9339333.74206545203924179,4222429.66709423810243607 9329876.33270020969212055,4224620.57273869588971138 9321623.92143941856920719,4224620.57273869588971138 9312787.26867344044148922,4224328.4519861014559865 9306616.21777488477528095,4223013.90859942696988583 9305666.82532895170152187,4222247.09162386693060398 9306470.15739858709275723,4222028.00105942133814096 9313298.47999048046767712,4223050.42369350139051676 9316657.8686453141272068,4222539.21237646136432886 9307821.21587933599948883,4220384.82182607799768448 9305812.8857052493840456,4219216.33881570026278496 9316657.8686453141272068,4215674.37469049356877804</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></geom>    </vegetation></Insert></Transaction> 

and this is the response in the GeoServer logs

2014-11-14 04:27:10,429 WARN [geotools.xml] - Error parsing: http://geonct.com:80/geoserver/NCT/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=NCT:vegetation&SRSNAME=EPSG:3308&username=******&password=******* 2014-11-14 04:27:10,430 WARN [geotools.xml] - Could not find a schema 2014-11-14 04:27:10,446 INFO [geoserver.wfs] -  Request: getServiceInfo 2014-11-14 04:27:10,447 INFO [geoserver.wfs] -  Request: describeFeatureType     service = WFS     version = 1.0.0     baseUrl = http://geonct.com:80/geoserver/     typeName[0] = {nct}vegetation     outputFormat = XMLSCHEMA 

If anyone can provide any remedies for this, I have searched the net, played around with different datasets, different field names (caps, no caps). I'm out of ideas.


I've been trying against a Geoserver / Windows server 2003 installation, and it works. Doesn't work when it's a Geoserver / Centos Installation. With Udig WFS-T updates against a Geoserver / Centos are commited.

Please also refer to: QGIS WFS Error - Could not commit changes to layer

Related Articles

  • QGIS does not update data in Geoserver WFS-TNovember 14

    I am trying to edit a WFS from geoserver (using PostGIS data) within QGIS. This is the request as recorded by Fiddler <Transaction xmlns="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version=&quo

  • Is possible to use ArcView select and query data from Geoserver WFS?March 1

    I am looking at implementing a GIS solution using GeoServer. If I implement a GeoServer solution is possible using ArcView via WFS to select and query data? From the research I have done it looks like there is a client plugin cost of around $1500 (Da

  • What causes these geometry differences between original PostGIS data and Geoserver WFS?

    What causes these geometry differences between original PostGIS data and Geoserver WFS?January 4

    Why does GeoServer (v2.5.1) WFS layer (see red line/layer below) not overlay features of source PostGIS table or related WMS layer in QGIS (tested in v2.6 and 2.12)? All layers are defined in the same GCS (EPSG: 4326) (interstate Tiger shp data origi

  • Caching Updated Data with GeoServerMarch 29

    I have a PostGIS database that gets updated about once every two hours. Since Geoserver datastore do not do any caching, I was looking for service does that and i found GeoWebCache REST API http://geowebcache.org/docs/current/rest/seed.html from what

  • Is it possible to know last update of data behind a WFS service?September 2

    I need to use several WFS service which are not mine and convert them to shapefiles. I'd like to update the shapefiles whenever the data is updated in the WFS services without downloading the whole data. Is there a way to know the moment when data ch

  • Exporting data from a WFS service to csv file using qgisMay 29

    I have a service that contains a list of points with some meta data and I would like to export this to a csv file. I remember doing this some months ago and it worked well, but now I can't find the method (or plugin?) that I used. Has anyone done som

  • Getting WFS data from Geoserver into leafletJune 25

    I'm trying to use a ajax call to load WFS data from geoserver into a GeoJson layer in leaflet. When I do the following message in the console: XMLHttpRequest cannot load http://localhost:8080/geoserver/cite/ows?service=WFS&version=1.1.0&request=-r

  • Geoserver WFS-T "Feature type 'Workspace:Layer' is not available" Error on update / deleteDecember 1

    I am using the following code for insert / update (changed from this source: http://wordpress-dbauszus.rhcloud.com/?p=71): var formatWFS = new ol.format.WFS(); // GML Format zur Interaktion mit WFS var formatGML = new ol.format.GML({ featureNS: 'http

  • Releasing GeoServer WFS-T Feature LockMay 24

    For some reason I'm having trouble finding any documentation about releasing feature locks in a GeoServer WFS (or any WFS for that matter). I can easily request a FeatureLock with a request like this http://localhost:8080/geoserver/wfs?service=WFS&ve

  • How to add Geoserver WFS to Leaflet JS ApplicationJanuary 12

    I have a PostGIS database and have successfully consumed a table into GeoServer and published a WFS. Are there REST endpoints available for these WFS' akin to ESRI's feature services? How are parameters to be constructed? --------------Solutions-----

  • Oracle / GeoServer / WFS-T / Openlayers many polygons as one featureFebruary 26

    Newbie question regarding Oracle / GeoServer / WFS-T / Openlayers. I am creating a table that will hold geometry features a user creates/updates. My question is, I would like to have just one record in the table per customer (customerId). Can I creat

  • GeoServer WFS OpenLayers EditingPanel ProblemJune 13

    I'm trying to use OpenLayers to edit features of vector data served from a local geoserver. So far, I'm able to pull WMS and WFS layers using OpenLayers from the same geoserver. But now, I'd like enable editing of features of the vector layers. The r

  • How do I get GeoJSON data from GeoServer into show up on my Leaflet map?June 14

    I'm trying to create a simple "Green" map for my city. The idea being that it is a website with a map and layers you can turn on and off. I am serving the data through GeoServer and am using GeoJOSN to add the data to the map. I checked the URL

  • Geoserver WFS get feature doesn't work - "SyntaxError: missing ; before statement"

    Geoserver WFS get feature doesn't work - "SyntaxError: missing ; before statement"December 3

    I'm trying to use geoserver WFS json for creating vector layer (instead of using WMS) because this is a layer I redraw every 20 seconds. This is the code I use : function getJSON() { var geoJsonUrl = "http://localhost:8080/geoserver/test/ows?service=

  • Publishing OSM data in GeoServer that has been imported into PostGIS

    Publishing OSM data in GeoServer that has been imported into PostGISJanuary 28

    I'm trying to publish data on GeoServer. I'm using Postgres/PostGIS and I've used osm2pgsql to load the data into the database. I've configured a store correctly (I can see the tables from the database listed when I add a new layer and choose the sto

  • Geoserver WFS Fails to Load in OpenLayers

    Geoserver WFS Fails to Load in OpenLayersMarch 31

    I'm working with Postgis->Geoserver->openlayers on localhost. I followed a Geoserver tutorial to import some nyc sample data into my postgres/postgis database and link it to Geoserver. The layer seems to display correctly in Geoserver using the open

  • Geoserver WFS POST and format_options=PRJFILEFORMATMay 9

    I'm using geoserver (2.4.4) to provide users with shapefile downloads. Some of the software the shapefiles are going to be used in requires .prj-files that follows the "ESRI-standard". A bit of searching lead me to a Geoserver ticket (GEOS-4503)

  • Geoserver WFS 2.0 CSV Output Multiple Features/typeNamesJanuary 27

    I'm setting up an export function so that users may download data from a Geoserver WFS 2.0 service in a variety of the supported formats. The service has multiple FeatureTypes which should be available for export in a single query (along with BBOX an

  • GeoTools WFS Query sortBy not working for GeoServer WFSFebruary 17

    I am using GeoTools to query a GeoServer WFS using the following code: Map connectionParameters = new HashMap(); connectionParameters.put("WFSDataStoreFactory:GET_CAPABILITIES_URL", String.format("%s&request=GetCapabilities", wfsUr

  • Accessing GeoServer WFS services in ArcGIS Online map viewer?September 9

    Has anyone was able to add GeoServer WFS service into ArcGIS Online map viewer? By this I mean having an ArcGIS Online account (either free or for Organizations), logging in and adding layers from the web. I have no problems adding a WMS service such

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.876 s.