Here is the schema for insertion, deletion
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.tinyows.org/ http://127.0.0.1/cgi-bin/tinyows.exe?service=wfs&request=DescribeFeatureType&version=1.1.0&typename=tows:poi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wfs:Insert> <tows:poi xmlns:tows="http://www.tinyows.org/"> <tows:global>XXX</tows:global> <tows:mission>XXX</tows:mission> <tows:type>XXX</tows:type> <tows:name>XXX</tows:name> <tows:description>XXX</tows:description> <tows:geom> <gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:4326"> <gml:pos>LAT LNG</gml:pos> </gml:Point> </tows:geom> <tows:lat>LAT</tows:lat> <tows:lon>LNG</tows:lon> <tows:alt></tows:alt> <tows:times>XXX</tows:times> <tows:category>XXX</tows:category> <tows:cog>XXX</tows:cog> <tows:decoration>XXX</tows:decoration> <tows:distance>XXX</tows:distance> <tows:eta>XXX</tows:eta> <tows:heading>XXX</tows:heading> <tows:icon>XXX</tows:icon> <tows:mmsi>XXX</tows:mmsi> <tows:slength>XXX</tows:slength> <tows:swith>XXX</tows:swith> <tows:speed>XXX</tows:speed> <tows:tcargo>XXX</tows:tcargo> <tows:tship>XXX</tows:tship> </tows:poi> </wfs:Insert> From: Even Rouault [mailto:[email protected]] Sent: Friday, January 27, 2017 12:22 PM To: Ahmed Tolba Cc: [email protected] Subject: Re: [gdal-dev] WFS-T using OGR On vendredi 27 janvier 2017 10:59:21 CET Ahmed Tolba wrote: > Hi > Thanks for your answer. > > I tried to do what you suggested, but I get " Can not insert the feature, > because we didn't manage to parse the .XSD schema " As the message suggests, the OGR WFS client didn't manage to get or correctly parse the schema for the layer. This is a bit surprising as TinyOWS should generate simple enough schemas for OGR to understand them. Difficult to know what happens without being able to reproduce on my side. Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
