[gdal-dev] PEP8 compliance for Python code

2018-04-09 Thread Ben Elliston
The Python code in the GDAL tree covers a few things including the testsuite and a Python module for GDAL itself. There is quite a lot of this code and the coding conventions are a bit all over the place. There are several deprecated idioms still being used. I think we should settle on the Python

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Even Rouault
On lundi 9 avril 2018 21:03:12 CEST Andrea Aime wrote: > On Mon, Apr 9, 2018 at 8:58 PM, Even Rouault > > wrote: > > Which disk caching are you refering too ? There's some disk caching for > > the > > WMS driver, but that's all > > "In addition, a global least-recently-used cache of 16 MB shared

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Andrea Aime
On Mon, Apr 9, 2018 at 8:58 PM, Even Rouault wrote: > Which disk caching are you refering too ? There's some disk caching for the > WMS driver, but that's all > > "In addition, a global least-recently-used cache of 16 MB shared among all downloaded content is enabled by default, and content in it

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Even Rouault
> I read there was some caching, but was not that specific. So, memory > caching is there, it's per file, > but not enabled by default, Yes > while disk caching is there, global, and > enabled by default? Which disk caching are you refering too ? There's some disk caching for the WMS driver, bu

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Andrea Aime
On Mon, Apr 9, 2018 at 6:43 PM, Even Rouault wrote: > Hi Andrea, > > Are you speaking about the cache machanism enabled with the VSI_CACHE=YES > env variable ? > I read there was some caching, but was not that specific. So, memory caching is there, it's per file, but not enabled by default, whil

Re: [gdal-dev] Understanding VSI caching

2018-04-09 Thread Even Rouault
On lundi 9 avril 2018 18:33:32 CEST Andrea Aime wrote: > Hi, > is there any document explaning how VSI caching works. E.g., memory vs disk > caching, whether the disk cache > is long lived or exists only for the duration of the process (and if so, > what about long lived processes > like mapserver

[gdal-dev] Understanding VSI caching

2018-04-09 Thread Andrea Aime
Hi, is there any document explaning how VSI caching works. E.g., memory vs disk caching, whether the disk cache is long lived or exists only for the duration of the process (and if so, what about long lived processes like mapserver fastcgi?) and so on? Cheers Andrea == GeoServer Professional Ser

Re: [gdal-dev] GDAL 2.2.4 with c++11

2018-04-09 Thread Even Rouault
On lundi 9 avril 2018 14:47:57 CEST Gane R wrote: > Does the latest version of GDAL 2.2.4 can be compiled without c++11 support Yes. C++11 is required only for the upcoming GDAL 2.3.0 : https://trac.osgeo.org/gdal/wiki/rfc68_cplusplus11 -- Spatialys - Geospatial professional services http://www

[gdal-dev] GDAL 2.2.4 with c++11

2018-04-09 Thread Gane R
Does the latest version of GDAL 2.2.4 can be compiled without c++11 support or it is mandatory to compile with c++11. Is there any possibility I can build with a compiler which doesn't support c++11. Can you point any relevant information on this? Thanks Gane