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

2018-06-17 Thread Markus Metz
On Sun, Jun 17, 2018 at 7:51 PM, Even Rouault wrote: > > > It would be nice if gdalinfo -stats would also trigger forced recomputation > > of exact statistics. Currently there is no difference between gdalinfo with > > and without -stats if statistics already exist in metadata and > > STATISTICS_A

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

2018-06-17 Thread Even Rouault
> It would be nice if gdalinfo -stats would also trigger forced recomputation > of exact statistics. Currently there is no difference between gdalinfo with > and without -stats if statistics already exist in metadata and > STATISTICS_APPROXIMATE=YES is absent (standard case for existing data): > -s

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

2018-06-17 Thread Markus Metz
On Sat, Jun 16, 2018 at 10:00 PM, Even Rouault wrote: > > > > > I checked, results with gdalinfo -stats are wrong because existing > > STATISTICS_* metadata are reported even if approximate statistics are not > > allowed. > > No, if STATISTICS_APPROXIMATE=YES and is set in .aux.xml (because initia

Re: [gdal-dev] Tiled GeoTiff that reduce the amount of reads in XYZ maps

2018-06-17 Thread Guy Doulberg
it is 1/3 because the original was not compressed, anyhow I am still getting too many requests when fetching a tile, maybe my read code is not doing what I think it is doing On Sun, Jun 17, 2018 at 4:51 PM, Guy Doulberg wrote: > Thanks Even > > I tried both ways and in both I am still getting

Re: [gdal-dev] Tiled GeoTiff that reduce the amount of reads in XYZ maps

2018-06-17 Thread Guy Doulberg
Thanks Even I tried both ways and in both I am still getting a lot of requests, I am exepcting only few, one for the headers and one for the tile: The resolution I used is driven from https://wiki.openstreetmap.org/wiki/Zoom_levels and the bounds I calculated using mercantile so an example of

Re: [gdal-dev] Tiled GeoTiff that reduce the amount of reads in XYZ maps

2018-06-17 Thread Even Rouault
On dimanche 17 juin 2018 10:19:34 CEST Guy Doulberg wrote: > Hi all, > > I am trying to use cloud optimized geotiff(cog) to reduce the block fetched > when accessing a raster. > > The use case I am trying to build, is a TileServer that serves tile in > openlayer map. > The rasters are to be store

Re: [gdal-dev] Tiled GeoTiff that reduce the amount of reads in XYZ maps

2018-06-17 Thread jratike80
Guy Doulberg wrote > Hi all, > > I am trying to use cloud optimized geotiff(cog) to reduce the block > fetched > when accessing a raster. > > The use case I am trying to build, is a TileServer that serves tile in > openlayer map. > The rasters are to be stored on a remote location, in my case azu

[gdal-dev] Tiled GeoTiff that reduce the amount of reads in XYZ maps

2018-06-17 Thread Guy Doulberg
Hi all, I am trying to use cloud optimized geotiff(cog) to reduce the block fetched when accessing a raster. The use case I am trying to build, is a TileServer that serves tile in openlayer map. The rasters are to be stored on a remote location, in my case azure blob storage. We were able to do