[gdal-dev] OGR WFS WFSLayerMetadata broken
Even Rouault
even.rouault at mines-paris.org
Thu Aug 30 00:13:23 PDT 2012
Selon Jeremy Palmer <JPalmer at linz.govt.nz>:
> I'm trying to setup a simple python script to query the WFS layers from a
> service. When using the special WFSLayerMetadata layer it seems to get
> screwed up. After the first comma within an abstract is found the field
> alignment becomes broken..
>
> If I look here
>
http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/wfs/ogrwfsdatasource.cpp#L1221
> it seems the fields are being double quoted before being included into temp
> CSV data
Yes, so I suspect the issue is not the presence of a comma in the abstract, but
a present of a double-quote in the abstract, that should be CSV-escaped. Could
you check that ? (or send the GetCapabilities document)
More information about the gdal-dev
mailing list