[gdal-dev] acess /vsimem files

2020-08-06 Thread Roy-Sabourin, Julien (ECCC)
(pyton) Hi, I'm using driver.Create('/vsimem/file.tif', xsize, ysize, 1, gdal.GDT_Byte) to make a tif file without writing on disk. Then I associate data and statistics to the tiff and i what to return the raw bytes of the file. How can i acces the memory file, i tired VSIGetMemFileBuffer_unsafe('

Re: [gdal-dev] acess /vsimem files

2020-08-06 Thread jratike80
Hi, Perhaps you could use the autotest https://github.com/OSGeo/gdal/blob/master/autotest/gcore/tiff_read.py#L552 as an example. -Jukka Rahkonen- Roy-Sabourin, Julien (ECCC) wrote > (pyton) > Hi, I'm using > driver.Create('/vsimem/file.tif', xsize, ysize, 1, gdal.GDT_Byte) > to make a tif fil

[gdal-dev] 100% CPU Usage and W3WP.exe suspended

2020-08-06 Thread MRRAJESH
Developers, We are using VRT file as input to GDALVectorTranslate in C++. Till 18 or 19 level, we are getting tiles. When we request for multiple 20th level tiles, CPU reaching to 100% and w3wp.exe suspended (crashed). Here we are using vsi memory buffer to store the tiles for each thread separate

Re: [gdal-dev] Sparse GTiff with sparse index?

2020-08-06 Thread Even Rouault
Idan, > Is there an option to create a GTiff with a sparse index? [...] > Is there an option to eliminate this huge index No, the index must be fully present in a TIFF file. > or an alternative format > that I can translate the vrt into and will be with a reasonable size? The GeoPackage driver

[gdal-dev] Information needed: GDAL is supported with ASLR built binaries(PIE enabled, ELF is DYN) on Red Hat Enterprise Linux Server 7.8

2020-08-06 Thread Kavitha K
Hi All, Please help us in the following. We are using the gdal 2.3.2 version for our product. we need to update the binaries with ASLR built'ones for security reasons. which version of gdal is supported with PIE(ASLR) enabled binaries. Please share with us the detailed steps to install it from th