Re: [gdal-dev] gdal_translate vs gdalwarp aggregation behaviour

2019-08-26 Thread John Baumgartner
I should have mentioned, this is using GDAL 2.4.1 on macOS. On Tue, 27 Aug 2019 at 03:16, John Baumgartner wrote: > Hi all > > I'm a bit confused by the difference in resampling behaviour seen when > using gdal_translate vs gdalwarp, when faced with ncol or nrow that is not &

[gdal-dev] gdal_translate vs gdalwarp aggregation behaviour

2019-08-26 Thread John Baumgartner
Hi all I'm a bit confused by the difference in resampling behaviour seen when using gdal_translate vs gdalwarp, when faced with ncol or nrow that is not divisible by the aggregation factor. For example, consider this 9 cell raster (attached, hopefully) with values 1 through 9, with resolution 1x1

Re: [gdal-dev] OGR SQL on CSV file with field name with parentheses?

2019-04-18 Thread John Baumgartner
Try surrounding the field name with square brackets: ogrinfo -al "Data_directory" -dialect sqlite -sql "SELECT [Vs30(m/s)] as Vs30 FROM file1" On Fri, 19 Apr 2019 at 09:32, Moskovitz, Bob@DOC < bob.moskov...@conservation.ca.gov> wrote: > Hello gdal_dev, > > > > I am trying to use ogrinfo on a se