Re: [gdal-dev] GDAL_GRID Linear: Segmentation Fault

2018-06-15 Thread Ian Reese
Hi Evan, Thanks for the heads up. I am running GDAL 2.2.2. I'll upgrade and let you know how it works out. Cheers, Ian From: Even Rouault [even.roua...@spatialys.com] Sent: Friday, 15 June 2018 9:55 p.m. To: gdal-dev@lists.osgeo.org Cc: Ian Reese; Jerem

Re: [gdal-dev] gdalinfo -mm also report n (number of grid cells that are not nodata)

2018-06-15 Thread Even Rouault
> Thinking about it, I do not want to support approximate statistics, > therefore something like STATISTICS_VALID_RATIO does not work for me, only > something like STATISTICS_N_VALID which requires exact statistics. STATISTICS_VALID_RATIO makes more sense to me that absolute number of pixels. I a

Re: [gdal-dev] gdalinfo -mm also report n (number of grid cells that are not nodata)

2018-06-15 Thread Markus Metz
On Thu, Jun 14, 2018 at 10:55 PM, Even Rouault wrote: > > > > Wanna take a crack at implementing this ? > > > > Too many API changes required, starting with GDALGetRasterStatistics(), > > GDALComputeRasterStatistics() and all else following. There must be an > > easier solution. But thanks for you

Re: [gdal-dev] In-memory VRT performance

2018-06-15 Thread Sean Gillies
Hi Even, On Fri, Jun 15, 2018 at 2:48 PM, Even Rouault wrote: > Hi Sean, > > > > > I have a GeoTIFF in S3 and am trying to access it via a VRT. I'm > > constructing the VRT in Python and then passing the string directly to > GDAL > > like > > > > GDALOpenEx("...", ...) > > > > I'm getting th

Re: [gdal-dev] In-memory VRT performance

2018-06-15 Thread Even Rouault
Hi Sean, > > I have a GeoTIFF in S3 and am trying to access it via a VRT. I'm > constructing the VRT in Python and then passing the string directly to GDAL > like > > GDALOpenEx("...", ...) > > I'm getting the results I expect, but very slowly. In my logs, it seems > that GDAL is fetching t

[gdal-dev] In-memory VRT performance

2018-06-15 Thread Sean Gillies
Hi all, I have a GeoTIFF in S3 and am trying to access it via a VRT. I'm constructing the VRT in Python and then passing the string directly to GDAL like GDALOpenEx("...", ...) I'm getting the results I expect, but very slowly. In my logs, it seems that GDAL is fetching the entire GeoTIFF an

Re: [gdal-dev] GDAL_GRID Linear: Segmentation Fault

2018-06-15 Thread Even Rouault
Ian, which GDAL version is it ? There has been a bug fix in that area in 2.2.3 : https://trac.osgeo.org/gdal/ticket/7101 Even -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org