[mapserver-commits] r8287 - in trunk/docs: mapfile output

svn at osgeo.org svn at osgeo.org
Fri Dec 26 10:25:24 EST 2008


Author: hobu
Date: 2008-12-26 10:25:23 -0500 (Fri, 26 Dec 2008)
New Revision: 8287

Modified:
   trunk/docs/mapfile/projection.txt
   trunk/docs/output/tile_mode.txt
Log:
tweak formatting

Modified: trunk/docs/mapfile/projection.txt
===================================================================
--- trunk/docs/mapfile/projection.txt	2008-12-26 09:57:37 UTC (rev 8286)
+++ trunk/docs/mapfile/projection.txt	2008-12-26 15:25:23 UTC (rev 8287)
@@ -39,9 +39,17 @@
 
 .. note::
 
-    This refers to an EPSG lookup file that contains a '26915' code with the 
-    full projection parameters.
+    This refers to an EPSG lookup file that contains a '26915' code with the
+    full projection parameters. "epsg" in this instance is case-sensitive
+    because it is referring to a file name. If your file system is
+    case-sensitive, this must be lower case, or MapServer (Proj.4 actually)
+    will complain about not being able to find this file.
 
+.. note::
+
+    See http://spatialreference.org/ref/epsg/26915 for more information on
+    this coordinate system.
+
 The next two examples both display how to possibly define unprojected 
 lat/longs ("geographic"):
 
@@ -86,7 +94,7 @@
 For More Information 
 --------------------
 
-- If you get projection errors, refer to the `MapServer Error page`_ to check 
+- If you get projection errors, refer to the :ref:`errors` to check 
   if your exact error has been discussed.
 
 - Search the MapServer-users `email list archives`_, odds are that someone has
@@ -100,5 +108,4 @@
 
 .. _`PROJ.4`: http://trac.osgeo.org/proj/
 .. _`Cartographical Map Projections`: http://www.progonos.com/furuti/MapProj/Normal/TOC/cartTOC.html
-.. _`MapServer Error page`: http://mapserver.gis.umn.edu/docs/error/
 .. _`email list archives`: http://lists.osgeo.org/pipermail/mapserver-users/
\ No newline at end of file

Modified: trunk/docs/output/tile_mode.txt
===================================================================
--- trunk/docs/output/tile_mode.txt	2008-12-26 09:57:37 UTC (rev 8286)
+++ trunk/docs/output/tile_mode.txt	2008-12-26 15:25:23 UTC (rev 8287)
@@ -80,7 +80,7 @@
 About Spherical Mercator
 ------------------------
 
-Spherical mercator (also called "web mercator" by some) is a world projection. 
+:term:`Spherical Mercator` (also called "web mercator" by some) is a world projection. 
 All the major tile-based map interfaces (Google Maps, Microsoft Virtual Earth, 
 Yahoo Maps, OpenLayers) use the spherical mercator system to address tiles.
 
@@ -114,12 +114,15 @@
 
 The `Google Maps API`_ includes support for using alternative tile sets 
 as overlays, or as alternate base maps. Here is an example of an 
-`GTileLayerOverlay`_::
+`GTileLayerOverlay`_
 
-  <!DOCTYPE html 
-    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-  <html xmlns="http://www.w3.org/1999/xhtml">
+.. code-block:: guess
+    :linenos:
+    
+    <!DOCTYPE html 
+      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
+      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+    <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
     <title>Google/MapServer Tile Example</title>
@@ -148,23 +151,26 @@
     }
 
     </script>
-  </head>
-  <body onload="load()" onunload="GUnload()">
-    <div id="map" style="width: 500px; height: 500px"></div>
-  </body>
-  </html>
+    </head>
+    <body onload="load()" onunload="GUnload()">
+      <div id="map" style="width: 500px; height: 500px"></div>
+    </body>
+    </html>
 
 Note the format of the tileUrlTemplate: a valid URL, with {X}, {Y} and {Z} 
 substitution tokens that Google Maps will replace with the tile coordinates 
 and zoom level on the fly to retrieve tiles from your server.
 
-You can also use a MapServer tile layer as an alternate base map::
+You can also use a MapServer tile layer as an alternate base map:
 
-  <!DOCTYPE html 
-    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-  <html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
+.. code-block:: guess
+    :linenos:
+
+    <!DOCTYPE html 
+      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
+      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+    <html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
     <title>Google/MapServer Tile Example</title>
     <script src="http://maps.google.com/maps?file=api&v=2&key=[YOUR KEY HERE]"
@@ -193,11 +199,11 @@
     }
 
     </script>
-  </head>
-  <body onload="load()" onunload="GUnload()">
-    <div id="map" style="width: 500px; height: 500px"></div>
-  </body>
-  </html>
+    </head>
+    <body onload="load()" onunload="GUnload()">
+      <div id="map" style="width: 500px; height: 500px"></div>
+    </body>
+    </html>
 
 The only change from the previous example is that we don't create a 
 GTileLayerOverlay, we create a GMapType, and use addMapType(), instead of 
@@ -208,10 +214,13 @@
 -------------------
 
 The `Virtual Earth API`_ also includes support for using alternative tile sets 
-as overlays, or as alternate base maps. Here is an example::
+as overlays, or as alternate base maps. Here is an example:
 
-  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-  <html xmlns="http://www.w3.org/1999/xhtml">
+.. code-block:: guess
+    :linenos:
+    
+    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+    <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
       <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
       <title>Virtual Earth Example</title>
@@ -241,7 +250,7 @@
     <body onload="OnLoadMap();">
       <div id="myMap" style="position:relative; width:500px; height:500px;"></div>
     </body>
-  </html>
+    </html>
 
 
 



More information about the mapserver-commits mailing list