[mapserver-commits] r11995 - branches/branch-6-0/docs/en trunk/docs/en

svn at osgeo.org svn at osgeo.org
Fri Aug 5 03:26:53 EDT 2011


Author: havatv
Date: 2011-08-05 00:26:53 -0700 (Fri, 05 Aug 2011)
New Revision: 11995

Modified:
   branches/branch-6-0/docs/en/introduction.txt
   trunk/docs/en/introduction.txt
Log:
Added a note on file organisation to mapfile example in introduction (#3087)

Modified: branches/branch-6-0/docs/en/introduction.txt
===================================================================
--- branches/branch-6-0/docs/en/introduction.txt	2011-08-04 13:17:27 UTC (rev 11994)
+++ branches/branch-6-0/docs/en/introduction.txt	2011-08-05 07:26:53 UTC (rev 11995)
@@ -302,8 +302,30 @@
       top of other layers)
     * Using relative paths is always recommended
     * Paths should be quoted (single or double quotes are accepted)
+    * The above example is built on the following directory structure:
 
+      * The mapfile could be placed anywhere, as long as it is
+        accessible to the web server.  Normally, one would try to
+        avoid placing it at a location that makes it accessible on the
+        web.  Let us say it is placed in /home/msuser/mapfiles/
 
+      * The location of the font file is given relative to the map
+        file, in this case: /home/msuser/etc/fonts.txt
+
+      * The location of the datasets (`bluemarble.gif`) is given
+        relative to the map file, in this case: /home/msuser/data/
+
+      * The location of the symbol file is given relative to the map
+        file, in this case: /home/msuser/etc/symbols.txt
+      
+      * The files generated by Mapserver will be placed in the
+        directory /ms4w/tmp/ms_tmp/.  The web server must be able to
+        place files in this directory.  The web server must make this
+        directory available as /ms_tmp (if the web server is on
+        `www.ms.org`, the web address to the directory must be:
+        `httpd://www.ms.org/ms_tmp/`.
+
+
 :ref:`MAP` Object
 ...............................................................................
 

Modified: trunk/docs/en/introduction.txt
===================================================================
--- trunk/docs/en/introduction.txt	2011-08-04 13:17:27 UTC (rev 11994)
+++ trunk/docs/en/introduction.txt	2011-08-05 07:26:53 UTC (rev 11995)
@@ -302,8 +302,30 @@
       top of other layers)
     * Using relative paths is always recommended
     * Paths should be quoted (single or double quotes are accepted)
+    * The above example is built on the following directory structure:
 
+      * The mapfile could be placed anywhere, as long as it is
+        accessible to the web server.  Normally, one would try to
+        avoid placing it at a location that makes it accessible on the
+        web.  Let us say it is placed in /home/msuser/mapfiles/
 
+      * The location of the font file is given relative to the map
+        file, in this case: /home/msuser/etc/fonts.txt
+
+      * The location of the datasets (`bluemarble.gif`) is given
+        relative to the map file, in this case: /home/msuser/data/
+
+      * The location of the symbol file is given relative to the map
+        file, in this case: /home/msuser/etc/symbols.txt
+      
+      * The files generated by Mapserver will be placed in the
+        directory /ms4w/tmp/ms_tmp/.  The web server must be able to
+        place files in this directory.  The web server must make this
+        directory available as /ms_tmp (if the web server is on
+        `www.ms.org`, the web address to the directory must be:
+        `httpd://www.ms.org/ms_tmp/`.
+
+
 :ref:`MAP` Object
 ...............................................................................
 



More information about the mapserver-commits mailing list