[gdal-dev] CSV headers with extra comma

Seth G sethg at geographika.co.uk
Sat Oct 12 09:06:40 PDT 2019


Forgot to add - using Windows builds of GDAL 3.0.1, released 2019/06/28. 

--
web:http://geographika.co.uk
twitter: @geographika

On Sat, Oct 12, 2019, at 5:49 PM, Seth G wrote:
> Hi list,
> 
> I came across a minor issue in MapServer, but it is GDAL related. 
> The following command (using a shapefile from MapServer's msautotest) 
> with a single field:
> 
> ogr2ogr -f csv my.csv bdry_counpy2.shp -select CTY_NAME
> 
> Produces the following:
> 
> CTY_NAME,
> Lake of the Woods
> 
> Note the extra comma in the field header. If more than one field is 
> selected then there is no additional comma. 
> 
> Should I log this as an issue on GitHub?
> 
> Seth
> 
> --
> web:http://geographika.co.uk
> twitter: @geographika
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list