[gdal-dev] Read WFS Features
victor.aparicio at hotmail.com
Fri May 27 04:36:09 EDT 2011
Hello, this is my first post in the mail list and this is the very first time
I develope with GDAL/OGR libraries...
My problem is that I want to connect to a WFS server in C# and read all the
features of a layer. I can read the WFS DataSource and the layer definition
but when I want to read the layer´s features I get a server error ("Error
returned by server : Received problem 2 in the chunky parser (56)"). This is
OSGeo.OGR.Driver wfsDriver = Ogr.GetDriverByName("WFS");
OSGeo.OGR.DataSource wfs =
OSGeo.OGR.Layer layer = wfs.GetLayerByIndex(1);
OSGeo.OGR.Feature feature = layer.GetNextFeature();
Any help would be appreciate. Thank you very much in advance.
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Read-WFS-Features-tp6410186p6410186.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev