[mapserver-commits] r10214 - branches/branch-5-6/docs/en/optimization

svn at osgeo.org svn at osgeo.org
Tue Jun 8 12:30:25 EDT 2010


Author: jmckenna
Date: 2010-06-08 12:30:23 -0400 (Tue, 08 Jun 2010)
New Revision: 10214

Modified:
   branches/branch-5-6/docs/en/optimization/debugging.txt
Log:
add brief mention of PROJ_DEBUG setting

Modified: branches/branch-5-6/docs/en/optimization/debugging.txt
===================================================================
--- branches/branch-5-6/docs/en/optimization/debugging.txt	2010-06-08 15:54:56 UTC (rev 10213)
+++ branches/branch-5-6/docs/en/optimization/debugging.txt	2010-06-08 16:30:23 UTC (rev 10214)
@@ -6,7 +6,7 @@
 
 :Author: Jeff McKenna
 :Contact: jmckenna at gatewaygeomatics.com
-:Last Updated: 2010-05-07
+:Last Updated: 2010-06-08
 
 .. contents:: Table of Contents
     :depth: 3
@@ -201,8 +201,27 @@
        ...
      END
    END
+   
+Step 4: Turn on PROJ_DEBUG (optional)
+------------------------------------
 
-Step 4: Test your Mapfile
+MapServer relies on the `PROJ.4 <http://trac.osgeo.org/proj/>`__ library to handle data projections, so
+you may wish to turn on PROJ debugging, to hopefully get more information back from the PROJ library.  
+You can trigger this PROJ output by setting the **PROJ_DEBUG** variable in your mapfile, 
+within the :ref:`MAP` object, such as:
+
+.. code-block:: mapfile
+
+   MAP
+     ...
+     CONFIG "PROJ_DEBUG" "ON"
+     ...
+     LAYER
+       ...
+     END
+   END
+
+Step 5: Test your Mapfile
 -------------------------
 
 Once you have set the *MS_ERRORFILE* and *DEBUG* level in your mapfile, you should now test
@@ -346,7 +365,7 @@
 .. HINT::
    You can check the attributes in the tileindex by executing "*ogrinfo -al*" on your data file
 
-Step 5: Check your Web Server Logs
+Step 6: Check your Web Server Logs
 ----------------------------------
 
 Once you have verified that there are no problems with you mapfile, next you should check your Web
@@ -416,7 +435,7 @@
 commandline, to make sure that MapServer loads properly.
 
 
-Step 6: Verify your Application Settings
+Step 7: Verify your Application Settings
 ----------------------------------------
 
 If you have verified that MapServer creates a valid map image through :ref:`shp2img`, you've checked



More information about the mapserver-commits mailing list