[gdal-dev] CSV headers with extra comma
Seth G
sethg at geographika.co.uk
Sat Oct 12 08:49:22 PDT 2019
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
More information about the gdal-dev
mailing list