Hot answers tagged wfs-t
The best place to look for details like this is in the standard. Inserting non spatial attributes is done in exactly the same way as adding spatial attributes. First check the schema of the feature type by using a describeFeature request, then construct a Transaction request with the attribute values in the same order as the schema requires.
This is the XML structure that worked after all: <wfs:Transaction service="WFS" version="1.1.0" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml"> <wfs:Update typeName="geonode:wld_nhr_adameqepic14days_wfp_test_1_1_1"> <wfs:Property> <wfs:Name>the_geom</...
There were two issues in my requests. The first one was related with the URL. Initially I was using this URL: url = 'http://localhost:8080/geoserver/wfs' Including my_workspace name in the URL is necessary for this WFS-T Insert (according to here): url = 'http://localhost:8080/geoserver/my_workspace/wfs' The second issue was related with the namespace ...
Only top voted, non community-wiki answers of a minimum length are eligible