[mapserver-commits] r8710 - trunk/docs/tutorial

svn at osgeo.org svn at osgeo.org
Mon Mar 9 13:43:45 EDT 2009


Author: pnaciona
Date: 2009-03-09 13:43:44 -0400 (Mon, 09 Mar 2009)
New Revision: 8710

Modified:
   trunk/docs/tutorial/example1-1-map.txt
Log:
update mapfile example for tutorial example 1.1

Modified: trunk/docs/tutorial/example1-1-map.txt
===================================================================
--- trunk/docs/tutorial/example1-1-map.txt	2009-03-09 17:28:16 UTC (rev 8709)
+++ trunk/docs/tutorial/example1-1-map.txt	2009-03-09 17:43:44 UTC (rev 8710)
@@ -1,9 +1,9 @@
-.. _example1-1-map.txt
+.. _example1-1-map:
 
 Example1-1.map
 --------------
 
-.. codeblock:: mapfile
+.. code-block:: mapfile
 
    # The annotated map file (sort of)
    # Created by Pericles S. Nacionales for the MapServer tutorial
@@ -23,37 +23,37 @@
      SHAPEPATH      "/ms4w/apps/tutorial/data"
      IMAGECOLOR     255 255 255
 
-   # Layer objects are defined beneath the map object.  You need at least one
-   # layer defined in your map file before you can display a map...  You can
-   # define as many layers as you'd like although a limit is typically hard-coded
-   # in map.h in the MapServer source.  The default limit is set at 100.  You'd
-   # have to have a very specialized application to need more than 100 layers in
-   # your application.
+     # Layer objects are defined beneath the map object.  You need at least one
+     # layer defined in your map file before you can display a map...  You can
+     # define as many layers as you'd like although a limit is typically hard-coded
+     # in map.h in the MapServer source.  The default limit is set at 100.  You'd
+     # have to have a very specialized application to need more than 100 layers in
+     # your application.
 
-   # Start of LAYER DEFINITIONS ---------------------------------------------
-   LAYER # States polygon layer begins here
-     NAME         states
-     DATA         states_ugl
-     STATUS       OFF
-     TYPE         POLYGON
+     # Start of LAYER DEFINITIONS ---------------------------------------------
+     LAYER # States polygon layer begins here
+       NAME         states
+       DATA         states_ugl
+       STATUS       OFF
+       TYPE         POLYGON
 
-     # The class object is defined within the layer object.  You can define as
-     # many classes as you need (well, there are limits as with layers, but it's
-     # senseless to define more than ten on a "normal" layer.  There are
-     # situations, however, where you might have to do it.)
-     CLASS
-       NAME       "The Upper Great Lakes States"
+       # The class object is defined within the layer object.  You can define as
+       # many classes as you need (well, there are limits as with layers, but it's
+       # senseless to define more than ten on a "normal" layer.  There are
+       # situations, however, where you might have to do it.)
+       CLASS
+         NAME       "The Upper Great Lakes States"
 
-       # There are styles in a class, just like there are classes in a layer,
-       # just like there are layers in a map.  You can define multiple styles in
-       # a class just as you can define multiple classes in a layer and multiple
-       # layers in a map.
-       STYLE
-         COLOR        232 232 232
-         OUTLINECOLOR 32 32 32
+         # There are styles in a class, just like there are classes in a layer,
+         # just like there are layers in a map.  You can define multiple styles in
+         # a class just as you can define multiple classes in a layer and multiple
+         # layers in a map.
+         STYLE
+           COLOR        232 232 232
+           OUTLINECOLOR 32 32 32
+         END
        END
-     END
-   END # States polygon layer ends here
-   # End of LAYER DEFINITIONS -------------------------------
+     END # States polygon layer ends here
+     # End of LAYER DEFINITIONS -------------------------------
 
-   END # All map files must come to an end just as all other things must come to...
+   END # All map files must come to an end just as all other things must come to...
\ No newline at end of file



More information about the mapserver-commits mailing list