Opened 12 years ago

Closed 10 years ago

Last modified 10 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
Cc:

Description

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 12 years ago.
the patchfile

Download all attachments as: .zip

Change History (5)

by vautieri, 12 years ago

the patchfile

comment:1 by vindoctor, 11 years ago

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 by Even Rouault, 10 years ago

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 by Even Rouault, 10 years ago

Milestone: 2.01.11.0

comment:4 by Even Rouault, 10 years ago

Milestone: 1.11.01.11.1

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.