[mapserver-commits] r10860 - trunk/docs/en/development/rfc

svn at osgeo.org svn at osgeo.org
Thu Jan 13 11:48:25 EST 2011


Author: aboudreault
Date: 2011-01-13 08:48:25 -0800 (Thu, 13 Jan 2011)
New Revision: 10860

Modified:
   trunk/docs/en/development/rfc/ms-rfc-66.txt
Log:
Updated rfc 66

Modified: trunk/docs/en/development/rfc/ms-rfc-66.txt
===================================================================
--- trunk/docs/en/development/rfc/ms-rfc-66.txt	2011-01-13 16:25:21 UTC (rev 10859)
+++ trunk/docs/en/development/rfc/ms-rfc-66.txt	2011-01-13 16:48:25 UTC (rev 10860)
@@ -28,13 +28,13 @@
 Proposed Solution
 ------------------------------------------------------------------------------
 
-By default, the temporary files will be written in memory. This will only
-be available if MapServer is built with gdal/cpl, which has a virtual io
-support. This is more efficient than writing files on disk. The virtual
-file system interface approach will be based on the RFC 62 `CPL Services
-<http://mapserver.org/development/rfc/ms-rfc-62.html#use-of-cpl-services>`_
-implementation, which already uses memory files. If the memory cannot be
-used, the files will be written on the disk. The temporary path can be set
+I propose the phase 1 to be implemented for MapServer 6.0. The phase 2,
+which complicated things, should be implemented in the future.
+
+Phase 1
+=======
+
+The files will still be written on the disk. The temporary path can be set
 by the two following ways:
 
 * The environment variable MS_TEMPPATH.
@@ -50,8 +50,49 @@
 depending on the OS. "/tmp/" for Linux/MAC and "C:/temp" for Windows. Most
 of the work will be to modify the msTmpFile function.
 
+Phase 2
+=======
 
+The default bahvior will be changed to write the temporary files in
+memory. This will only be available if MapServer is built with gdal/cpl,
+which has a virtual io support. This is more efficient than writing files
+on disk. The virtual file system interface approach will be based on the
+RFC 62 `CPL Services
+<http://mapserver.org/development/rfc/ms-rfc-62.html#use-of-cpl-services>`_
+implementation, which already uses memory files.
 
+This phase will need the implementation of a few generic functions (or
+using msIO* functions) to open/read/write/close a file using the CPL
+functions when available. A memory file can only be read by the CPL
+services.
+
+Purposes of temporary files
+------------------------------------------------------------------------------
+
+* mapcontext.c: Load an OGC Web Map Context format from an URL 
+* mapgdal.c: msSaveImageGDAL() temporary file... memory support implemented
+* mapkmlrenderer.cpp:
+
+  - Merging raster buffer
+  - Create icon images
+  - Create a zip file with the kml file in it. Using cpl zip api.
+
+* mapogcfilter.c: Save mapfiles after filter applied  (debug only)
+* mapogcsld.c: 
+
+  - Save sld files.
+  - Save mapfiles after SLD applied (debug only)
+  - Download the symbol referenced by the URL and create a pixmap
+
+* mapogroutput.c:
+
+  - Create zip file (write from query)
+  - Create temporary directory (write from query)
+
+* mapscript/php/image.c: Save web images
+* mapwfslayer.c: Save gml files
+* mapwmslayer.c: Save temporary request output files
+
 Files affected
 ------------------------------------------------------------------------------
 



More information about the mapserver-commits mailing list