Opened 10 years ago

Closed 8 years ago

Last modified 7 years ago

#4540 closed defect (fixed)

WMS cache file location

Reported by: vautieri Owned by: warmerdam
Priority: normal Milestone: 1.11.1
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: wms


WMS cache files would get randomly placed based on the active working directory if not set within the XML. This patch will keep the same behavior, but at least give the option to set the path to a default if not set within the XML file.

CPLSetConfigOption("GDAL_DEFAULT_WMS_CACHE_PATH", pathlocationstr );

Attachments (1)

setdefaultwmscachepath.patch (937 bytes) - added by vautieri 10 years ago.
the patchfile

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by vautieri

the patchfile

comment:1 Changed 8 years ago by vindoctor

Priority: normalhighest
Severity: minorblocker
Version: unspecifiedsvn-trunk

I'm dumbfounded this didn't make it into the any version over the last 15 months. Its such an important yet trivial patch. Having these cache files pollute your computer when not set is a pretty serious bug.

comment:2 Changed 8 years ago by Even Rouault

Keywords: wms added
Milestone: 2.0
Priority: highestnormal
Resolution: fixed
Severity: blockernormal
Status: newclosed

trunk r26900 "WMS: allow cache location to be specified with GDAL_DEFAULT_WMS_CACHE_PATH configuration option if not provided in the XML (#4540, patch by vautieri)"

comment:3 Changed 8 years ago by Even Rouault


comment:4 Changed 7 years ago by Even Rouault


trunk r27554, branches/1.11 r27555 "WMS: fix to make GDAL_DEFAULT_WMS_CACHE_PATH configuration option work as expected (#4540)"

Note: See TracTickets for help on using tickets.