Re: [gdal-dev] Why does the difference between two overlapping rasters exist after projection in GDAL?

2016-05-12 Thread Didier Bernard
Dear Even, Thank you!! I haven't tried with the nearest neighbor resampling method, but your advice on setting the error threshold to 0 (-et 0) worked perfectly with cubic resampling method!!! Now there is no difference between the two Azimuthal equidistant projected rasters! Thank you again.

Re: [gdal-dev] Using TILE_SCHEME option converting GeoTIFF to GeoPackage

2016-05-12 Thread Brad Hards
> Here is a link to Geopackage sample name ERDC Whitehorse GeoPackage.gpkg > at > https://portal.opengeospatial.org/files/63156 I'm not sure I understand what this has to do with your question. It seems unrelated. > I tried like this > gdal_translate.exe -of GPKG "sample.tif" "sample.gpkg" -co

Re: [gdal-dev] ESRI GeoJSON

2016-05-12 Thread Martin Landa
2016-05-11 22:39 GMT+02:00 Even Rouault : >> Is there any support >> for writing into ESRI GeoJSON? > No. Read-only. thanks for clarification, Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ gdal-dev mai

[gdal-dev] Using TILE_SCHEME option converting GeoTIFF to GeoPackage

2016-05-12 Thread Gane R
Hi all, Here is a link to Geopackage sample name ERDC Whitehorse GeoPackage.gpkg at https://portal.opengeospatial.org/files/63156 I tried like this gdal_translate.exe -of GPKG "sample.tif" "sample.gpkg" -co *TILING_SCHEME* =PseudoTMS_GlobalMercator I got only one zoom level in the output Geopac

Re: [gdal-dev] GDALRasterBand::RasterIO c++ vs BandReadAsArray python performance (Gareth Jones)

2016-05-12 Thread Gareth James Jones [gjj12]
Hi Sean, I initialise datatmp using CPLMalloc in the C++ T* dataTmp = (T*)CPLMalloc(sizeof(T) *(this->dspRastXSize * this->dspRastYSize)); this is then freed using CPLFree once finished with. I do re-malloc it for each band we want to read in a raster so that does add some slowdown that cou