[gdal-dev] WFS-T using OGR
Ahmed Tolba
Ahmed.Tolba at schiebel.net
Tue Jan 31 07:29:53 PST 2017
Hi Evan,
I have tried to debug,
poFeatureDefn->GetFieldIndex("gml_id") == 0;
This returns -1
What does this mean ?
From: Even Rouault [mailto:even.rouault at spatialys.com]
Sent: Tuesday, January 31, 2017 3:45 PM
To: Ahmed Tolba
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] WFS-T using OGR
On mardi 31 janvier 2017 14:15:38 CET Ahmed Tolba wrote:
> Can you please try with that server ?
> WFS:http://192.168.139.128/cgi-bin/tinyows.exe?SERVICE=WFS&VERSION=1.1.0&out
> putFormat=JSON
This is a non public URL. And outputFormat=JSON could actually be the cause for issues. You should try with default GML output.
>
> From: Even Rouault [mailto:even.rouault at spatialys.com]
> Sent: Friday, January 27, 2017 12:22 PM
> To: Ahmed Tolba
> Cc: gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
> 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
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170131/970d7cb6/attachment-0001.html>
More information about the gdal-dev
mailing list