Re: [gdal-dev] problem: gdal_grid, output ers raster file

2021-03-03 Thread Ron Palmer
Thanks Even for the follow up and description of the work-around, will try it right now. Ron On 4/03/2021 8:11 am, Even Rouault wrote: Hi, This is a "well known" behaviour of gdal_grid in which it writes raster with a bottom-left corner origin, whereas most other GDAL utilities use a top-l

Re: [gdal-dev] problem: gdal_grid, output ers raster file

2021-03-03 Thread Even Rouault
Hi, This is a "well known" behaviour of gdal_grid in which it writes raster with a bottom-left corner origin, whereas most other GDAL utilities use a top-left corner origin. The ERS driver doesn't support such convention. The workaround you can use is to output gdal_grid as a TIFF (tmp.tif),

Re: [gdal-dev] problem: gdal_grid, output ers raster file

2021-03-03 Thread Ron Palmer
Looks to me like the ERMapper ERS driver has a bug, using the bottom left corner to georef the raster, instead of top left. I can only use it if I use local coordinates, any negative northings are plotted towards the north. ERS is the main raster format I use. I am happy to assist in sorting o

[gdal-dev] problem: gdal_grid, output ers raster file

2021-02-16 Thread Ron Palmer
I am having issues with outputting ers raster file from gdal_grid. I import a csv as shape, then grid it and output as ers. The Y coords are all negative as it is in fact a section I simply grid as a 2D raster. Although the shape file plots as I expect it, the ers is flipped upside-down, and hu