Re: [gdal-dev] CSV headers with extra comma

2019-10-12 Thread Seth G
Thanks for the clarification Even. Issue opened at https://github.com/OSGeo/gdal/issues/1929 so will hopefully appear if someone searches for this again in the future. Seth On Sat, Oct 12, 2019, at 6:20 PM, Even Rouault wrote: > On samedi 12 octobre 2019 17:49:22 CEST Seth G wrote: > > Hi list

Re: [gdal-dev] CSV headers with extra comma

2019-10-12 Thread Even Rouault
On samedi 12 octobre 2019 17:49:22 CEST 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 > > Pr

Re: [gdal-dev] CSV headers with extra comma

2019-10-12 Thread Seth G
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 shape

[gdal-dev] CSV headers with extra comma

2019-10-12 Thread Seth G
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 com