Hi
I tried this:
OGRRegisterAll();
sourceName = "http://maps.zh.ch/wfs/FnsNSWFS";
sourceData = OGROpen( sourceName.c_str(), 0, NULL );
if(sourceData == NULL) {
printf("Open failed.\n");
exit(1);
}
and it ends with:
ERROR 4: Failed to read GeoJSON data
Open failed.
Does anybody has a proper example?
ogrinfo -ro -so WFS:"http://maps.zh.ch/wfs/FnsNSWFS" shows something,
therefore I think that it is my source code.
Thanks in advance.
David
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev