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

svn at osgeo.org svn at osgeo.org
Wed Aug 3 17:03:17 EDT 2011


Author: havatv
Date: 2011-08-03 14:03:17 -0700 (Wed, 03 Aug 2011)
New Revision: 11985

Modified:
   branches/branch-6-0/docs/en/ogc/sos_server.txt
   branches/branch-6-0/docs/en/ogc/wcs_server.txt
   branches/branch-6-0/docs/en/ogc/wfs_server.txt
   branches/branch-6-0/docs/en/ogc/wms_server.txt
   trunk/docs/en/ogc/sos_server.txt
   trunk/docs/en/ogc/wcs_server.txt
   trunk/docs/en/ogc/wfs_server.txt
   trunk/docs/en/ogc/wms_server.txt
Log:
Updating MAP file examples to use MAP (#3490).  Also did similar fixes for the SOS, WMS and WFS server documents.

Modified: branches/branch-6-0/docs/en/ogc/sos_server.txt
===================================================================
--- branches/branch-6-0/docs/en/ogc/sos_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ branches/branch-6-0/docs/en/ogc/sos_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -175,6 +175,7 @@
 
 .. code-block:: mapfile
 
+      MAP
         NAME "SOS_DEMO"
         STATUS ON
         SIZE 300 300
@@ -227,7 +228,7 @@
           END
         END    
         
-        END #map
+      END #map
         
 Test Your SOS Server
 --------------------

Modified: branches/branch-6-0/docs/en/ogc/wcs_server.txt
===================================================================
--- branches/branch-6-0/docs/en/ogc/wcs_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ branches/branch-6-0/docs/en/ogc/wcs_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -1,4 +1,4 @@
-.. _wcs_server:
+.. _WCS_server:
 
 *****************************************************************************
  WCS Server
@@ -87,30 +87,31 @@
 
 .. code-block:: mapfile
         
-	NAME WCS_server
-	STATUS ON
-	SIZE 400 300
-	SYMBOLSET "../etc/symbols.txt"
-	EXTENT -2200000 -712631 3072800 3840000
-	UNITS METERS
-	SHAPEPATH "../data"
-	IMAGECOLOR 255 255 255
-	FONTSET "../etc/fonts.txt"
+      MAP
+        NAME WCS_server
+        STATUS ON
+        SIZE 400 300
+        SYMBOLSET "../etc/symbols.txt"
+        EXTENT -2200000 -712631 3072800 3840000
+        UNITS METERS
+        SHAPEPATH "../data"
+        IMAGECOLOR 255 255 255
+        FONTSET "../etc/fonts.txt"
 
 
-	#
-	# Start of web interface definition
-	#
-	WEB
-	  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
-	  IMAGEURL "/ms_tmp/"
-	  METADATA
-	    "wcs_label"                    "GMap WCS Demo Server" ### required  
-	    "wcs_description"              "Some text description of the service"  
-	    "wcs_onlineresource"           "http://127.0.0.1/cgi-bin/mapserv.exe?" ### recommended
-	    "wcs_fees"                     "none"
-	    "wcs_accessconstraints"        "none"
-	    "wcs_keywordlist"              "wcs,test"
+        #
+        # Start of web interface definition
+        #
+        WEB
+          IMAGEPATH "/ms4w/tmp/ms_tmp/" 
+          IMAGEURL "/ms_tmp/"
+          METADATA
+            "wcs_label"                    "GMap WCS Demo Server" ### required  
+            "wcs_description"              "Some text description of the service"  
+            "wcs_onlineresource"           "http://127.0.0.1/cgi-bin/mapserv.exe?" ### recommended
+            "wcs_fees"                     "none"
+            "wcs_accessconstraints"        "none"
+            "wcs_keywordlist"              "wcs,test"
             "wcs_metadatalink_type"        "TC211" 
             "wcs_metadatalink_format"      "text/plain" 
             "wcs_metadatalink_href"        "http://someurl.com"
@@ -126,33 +127,31 @@
             "wcs_contactvoicetelephone"    "613-555-1234"
             "wcs_contactfacimiletelephone" "613-555-1235"
             "wcs_service_onlineresource"   "http://127.0.0.1/cgi-bin/mapserv.exe?"            
-	  END
-	END
+          END
+        END
 
-	PROJECTION
-	  "init=epsg:42304"
-	END
+        PROJECTION
+          "init=epsg:42304"
+        END
 
 
-	LAYER
-	  NAME bathymetry
-	  METADATA
-	    "wcs_label"           "Elevation/Bathymetry"  ### required
-	    "wcs_rangeset_name"   "Range 1"               ### required to support DescribeCoverage request
-	    "wcs_rangeset_label"  "My Label"              ### required to support DescribeCoverage request 
-	  END
-	  TYPE RASTER ### required
-	  STATUS ON
-	  DATA bath_mapserver.tif
-	  PROJECTION
-	    "init=epsg:42304"
-	  END
-	  DUMP TRUE ### required
-	END
+        LAYER
+          NAME bathymetry
+          METADATA
+            "wcs_label"           "Elevation/Bathymetry"  ### required
+            "wcs_rangeset_name"   "Range 1"               ### required to support DescribeCoverage request
+            "wcs_rangeset_label"  "My Label"              ### required to support DescribeCoverage request 
+          END
+          TYPE RASTER ### required
+          STATUS ON
+          DATA bath_mapserver.tif
+          PROJECTION
+            "init=epsg:42304"
+          END
+          DUMP TRUE ### required
+        END
+      END # Map File
 
-
-	END # Map File
-
 Output Formats
 --------------
 

Modified: branches/branch-6-0/docs/en/ogc/wfs_server.txt
===================================================================
--- branches/branch-6-0/docs/en/ogc/wfs_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ branches/branch-6-0/docs/en/ogc/wfs_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -133,69 +133,68 @@
 
 .. code-block:: mapfile
 
-	MAP
+      MAP
+        NAME "WFS_server"
+        STATUS ON
+        SIZE 400 300
+        SYMBOLSET "../etc/symbols.txt"
+        EXTENT -180 -90 180 90
+        UNITS DD
+        SHAPEPATH "../data"
+        IMAGECOLOR 255 255 255
+        FONTSET "../etc/fonts.txt"
 
-	NAME "WFS_server"
-	STATUS ON
-	SIZE 400 300
-	SYMBOLSET "../etc/symbols.txt"
-	EXTENT -180 -90 180 90
-	UNITS DD
-	SHAPEPATH "../data"
-	IMAGECOLOR 255 255 255
-	FONTSET "../etc/fonts.txt"
 
+        #
+        # Start of web interface definition
+        #
+        WEB
+          IMAGEPATH "/ms4w/tmp/ms_tmp/" 
+          IMAGEURL "/ms_tmp/"
+          METADATA
+            "wfs_title"          "WFS Demo Server for MapServer" ## REQUIRED
+            "wfs_onlineresource" "http://demo.mapserver.org/cgi-bin/wfs?" ## Recommended
+            "wfs_srs"            "EPSG:4326 EPSG:4269 EPSG:3978 EPSG:3857" ## Recommended
+            "wfs_abstract"       "This text describes my WFS service." ## Recommended
+          END
+        END
 
-	#
-	# Start of web interface definition
-	#
-	WEB
-	  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
-	  IMAGEURL "/ms_tmp/"
-	  METADATA
-	    "wfs_title"          "WFS Demo Server for MapServer" ## REQUIRED
-	    "wfs_onlineresource" "http://demo.mapserver.org/cgi-bin/wfs?" ## Recommended
-	    "wfs_srs"		 "EPSG:4326 EPSG:4269 EPSG:3978 EPSG:3857" ## Recommended
-	    "wfs_abstract"       "This text describes my WFS service." ## Recommended
-	  END
-	END
+        PROJECTION
+          "init=epsg:4326"
+        END
 
-	PROJECTION
-	  "init=epsg:4326"
-	END
+        #
+        # Start of layer definitions
+        #
 
-	#
-	# Start of layer definitions
-	#
+        ##################
+        # World Continents
+        ##################
+        LAYER 
+          NAME "continents"
+          METADATA
+            "wfs_title"         "World continents" ##REQUIRED
+            "wfs_srs"           "EPSG:4326" ## REQUIRED
+            "gml_include_items" "all" ## Optional (serves all attributes for layer)
+            "gml_featureid"     "ID" ## REQUIRED
+          END  
+          TYPE POLYGON
+          STATUS ON
+          DATA 'shapefile/countries_area'
+          PROJECTION
+            "init=epsg:4326"
+          END
+          DUMP TRUE             ## REQUIRED
+          CLASS
+            NAME 'World Continents'
+            STYLE
+              COLOR 255 128 128
+              OUTLINECOLOR 96 96 96      
+            END
+          END
+        END #layer
 
-	##################
-	# World Continents
-	##################
-	LAYER 
-	  NAME "continents"
-	  METADATA
-	    "wfs_title"         "World continents" ##REQUIRED
-	    "wfs_srs"           "EPSG:4326" ## REQUIRED
-	    "gml_include_items" "all" ## Optional (serves all attributes for layer)
-	    "gml_featureid"     "ID" ## REQUIRED
-	  END  
-	  TYPE POLYGON
-	  STATUS ON
-	  DATA 'shapefile/countries_area'
-	  PROJECTION
-	    "init=epsg:4326"
-	  END
-	  DUMP TRUE             ## REQUIRED
-	  CLASS
-	    NAME 'World Continents'
-	    STYLE
-	      COLOR 255 128 128
-	      OUTLINECOLOR 96 96 96      
-	    END
-	  END
-	END #layer
-	
-	END #mapfile
+      END #mapfile
 
 Rules for Handling SRS in MapServer WFS
 ---------------------------------------

Modified: branches/branch-6-0/docs/en/ogc/wms_server.txt
===================================================================
--- branches/branch-6-0/docs/en/ogc/wms_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ branches/branch-6-0/docs/en/ogc/wms_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -1253,74 +1253,75 @@
 .. code-block:: mapfile
     :linenos:
 
-    NAME "WMS-test"
-    STATUS ON
-    SIZE 400 300
-    SYMBOLSET ../etc/symbols.sym
-    EXTENT -2200000 -712631 3072800 3840000
-    UNITS METERS
-    SHAPEPATH "../data"
-    IMAGECOLOR 255 255 255
-    FONTSET ../etc/fonts.txt
-
-    WEB
-      IMAGEPATH "/ms4w/tmp/ms_tmp/"
-      IMAGEURL "/ms_tmp/"
-      METADATA
-        "wms_title"     "WMS Demo Server"  ##required
-        "wms_onlineresource" "http://yourpath/cgi-bin/mapserv.exe?"   ##required
-        "wms_srs"       "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326"  ##recommended
-      END
-    END
-
-    PROJECTION
-      "init=epsg:42304"   ##required
-    END
-
-    #
-    # Start of layer definitions
-    #
-
-    LAYER
-      NAME "park"
-      METADATA
-        "wms_title"    "Parks"   ##required
-      END
-      TYPE POLYGON
-      STATUS OFF
-      DATA park
-      PROJECTION
-        "init=epsg:42304"   ##recommended
-      END
-      CLASS
-        NAME "Parks"
-        STYLE
-          COLOR 200 255 0
-          OUTLINECOLOR 120 120 120
+    MAP
+      NAME "WMS-test"
+      STATUS ON
+      SIZE 400 300
+      SYMBOLSET ../etc/symbols.sym
+      EXTENT -2200000 -712631 3072800 3840000
+      UNITS METERS
+      SHAPEPATH "../data"
+      IMAGECOLOR 255 255 255
+      FONTSET ../etc/fonts.txt
+    
+      WEB
+        IMAGEPATH "/ms4w/tmp/ms_tmp/"
+        IMAGEURL "/ms_tmp/"
+        METADATA
+          "wms_title"     "WMS Demo Server"  ##required
+          "wms_onlineresource" "http://yourpath/cgi-bin/mapserv.exe?"   ##required
+          "wms_srs"       "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326"  ##recommended
         END
-      END 
-    END # Layer
-
-    LAYER
-      NAME popplace
-      METADATA
-        "wms_title"    "Cities"  ##required
       END
-      TYPE POINT
-      STATUS ON
-      DATA popplace
+    
       PROJECTION
-        "init=epsg:42304"   ##recommended
+        "init=epsg:42304"   ##required
       END
-      CLASS
-        NAME "Cities"
-        STYLE
-          SYMBOL 2
-          SIZE 8
-          COLOR 0 0 0
+    
+      #
+      # Start of layer definitions
+      #
+    
+      LAYER
+        NAME "park"
+        METADATA
+          "wms_title"    "Parks"   ##required
         END
-      END 
-    END # Layer
+        TYPE POLYGON
+        STATUS OFF
+        DATA park
+        PROJECTION
+          "init=epsg:42304"   ##recommended
+        END
+        CLASS
+          NAME "Parks"
+          STYLE
+            COLOR 200 255 0
+            OUTLINECOLOR 120 120 120
+          END
+        END 
+      END # Layer
+    
+      LAYER
+        NAME popplace
+        METADATA
+          "wms_title"    "Cities"  ##required
+        END
+        TYPE POINT
+        STATUS ON
+        DATA popplace
+        PROJECTION
+          "init=epsg:42304"   ##recommended
+        END
+        CLASS
+          NAME "Cities"
+          STYLE
+            SYMBOL 2
+            SIZE 8
+            COLOR 0 0 0
+          END
+        END 
+      END # Layer
 
     END # Map File      
       

Modified: trunk/docs/en/ogc/sos_server.txt
===================================================================
--- trunk/docs/en/ogc/sos_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ trunk/docs/en/ogc/sos_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -175,6 +175,7 @@
 
 .. code-block:: mapfile
 
+      MAP
         NAME "SOS_DEMO"
         STATUS ON
         SIZE 300 300
@@ -227,7 +228,7 @@
           END
         END    
         
-        END #map
+      END #map
         
 Test Your SOS Server
 --------------------

Modified: trunk/docs/en/ogc/wcs_server.txt
===================================================================
--- trunk/docs/en/ogc/wcs_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ trunk/docs/en/ogc/wcs_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -1,4 +1,4 @@
-.. _wcs_server:
+.. _WCS_server:
 
 *****************************************************************************
  WCS Server
@@ -87,30 +87,31 @@
 
 .. code-block:: mapfile
         
-	NAME WCS_server
-	STATUS ON
-	SIZE 400 300
-	SYMBOLSET "../etc/symbols.txt"
-	EXTENT -2200000 -712631 3072800 3840000
-	UNITS METERS
-	SHAPEPATH "../data"
-	IMAGECOLOR 255 255 255
-	FONTSET "../etc/fonts.txt"
+      MAP
+        NAME WCS_server
+        STATUS ON
+        SIZE 400 300
+        SYMBOLSET "../etc/symbols.txt"
+        EXTENT -2200000 -712631 3072800 3840000
+        UNITS METERS
+        SHAPEPATH "../data"
+        IMAGECOLOR 255 255 255
+        FONTSET "../etc/fonts.txt"
 
 
-	#
-	# Start of web interface definition
-	#
-	WEB
-	  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
-	  IMAGEURL "/ms_tmp/"
-	  METADATA
-	    "wcs_label"                    "GMap WCS Demo Server" ### required  
-	    "wcs_description"              "Some text description of the service"  
-	    "wcs_onlineresource"           "http://127.0.0.1/cgi-bin/mapserv.exe?" ### recommended
-	    "wcs_fees"                     "none"
-	    "wcs_accessconstraints"        "none"
-	    "wcs_keywordlist"              "wcs,test"
+        #
+        # Start of web interface definition
+        #
+        WEB
+          IMAGEPATH "/ms4w/tmp/ms_tmp/" 
+          IMAGEURL "/ms_tmp/"
+          METADATA
+            "wcs_label"                    "GMap WCS Demo Server" ### required  
+            "wcs_description"              "Some text description of the service"  
+            "wcs_onlineresource"           "http://127.0.0.1/cgi-bin/mapserv.exe?" ### recommended
+            "wcs_fees"                     "none"
+            "wcs_accessconstraints"        "none"
+            "wcs_keywordlist"              "wcs,test"
             "wcs_metadatalink_type"        "TC211" 
             "wcs_metadatalink_format"      "text/plain" 
             "wcs_metadatalink_href"        "http://someurl.com"
@@ -126,33 +127,31 @@
             "wcs_contactvoicetelephone"    "613-555-1234"
             "wcs_contactfacimiletelephone" "613-555-1235"
             "wcs_service_onlineresource"   "http://127.0.0.1/cgi-bin/mapserv.exe?"            
-	  END
-	END
+          END
+        END
 
-	PROJECTION
-	  "init=epsg:42304"
-	END
+        PROJECTION
+          "init=epsg:42304"
+        END
 
 
-	LAYER
-	  NAME bathymetry
-	  METADATA
-	    "wcs_label"           "Elevation/Bathymetry"  ### required
-	    "wcs_rangeset_name"   "Range 1"               ### required to support DescribeCoverage request
-	    "wcs_rangeset_label"  "My Label"              ### required to support DescribeCoverage request 
-	  END
-	  TYPE RASTER ### required
-	  STATUS ON
-	  DATA bath_mapserver.tif
-	  PROJECTION
-	    "init=epsg:42304"
-	  END
-	  DUMP TRUE ### required
-	END
+        LAYER
+          NAME bathymetry
+          METADATA
+            "wcs_label"           "Elevation/Bathymetry"  ### required
+            "wcs_rangeset_name"   "Range 1"               ### required to support DescribeCoverage request
+            "wcs_rangeset_label"  "My Label"              ### required to support DescribeCoverage request 
+          END
+          TYPE RASTER ### required
+          STATUS ON
+          DATA bath_mapserver.tif
+          PROJECTION
+            "init=epsg:42304"
+          END
+          DUMP TRUE ### required
+        END
+      END # Map File
 
-
-	END # Map File
-
 Output Formats
 --------------
 

Modified: trunk/docs/en/ogc/wfs_server.txt
===================================================================
--- trunk/docs/en/ogc/wfs_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ trunk/docs/en/ogc/wfs_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -133,69 +133,68 @@
 
 .. code-block:: mapfile
 
-	MAP
+      MAP
+        NAME "WFS_server"
+        STATUS ON
+        SIZE 400 300
+        SYMBOLSET "../etc/symbols.txt"
+        EXTENT -180 -90 180 90
+        UNITS DD
+        SHAPEPATH "../data"
+        IMAGECOLOR 255 255 255
+        FONTSET "../etc/fonts.txt"
 
-	NAME "WFS_server"
-	STATUS ON
-	SIZE 400 300
-	SYMBOLSET "../etc/symbols.txt"
-	EXTENT -180 -90 180 90
-	UNITS DD
-	SHAPEPATH "../data"
-	IMAGECOLOR 255 255 255
-	FONTSET "../etc/fonts.txt"
 
+        #
+        # Start of web interface definition
+        #
+        WEB
+          IMAGEPATH "/ms4w/tmp/ms_tmp/" 
+          IMAGEURL "/ms_tmp/"
+          METADATA
+            "wfs_title"          "WFS Demo Server for MapServer" ## REQUIRED
+            "wfs_onlineresource" "http://demo.mapserver.org/cgi-bin/wfs?" ## Recommended
+            "wfs_srs"            "EPSG:4326 EPSG:4269 EPSG:3978 EPSG:3857" ## Recommended
+            "wfs_abstract"       "This text describes my WFS service." ## Recommended
+          END
+        END
 
-	#
-	# Start of web interface definition
-	#
-	WEB
-	  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
-	  IMAGEURL "/ms_tmp/"
-	  METADATA
-	    "wfs_title"          "WFS Demo Server for MapServer" ## REQUIRED
-	    "wfs_onlineresource" "http://demo.mapserver.org/cgi-bin/wfs?" ## Recommended
-	    "wfs_srs"		 "EPSG:4326 EPSG:4269 EPSG:3978 EPSG:3857" ## Recommended
-	    "wfs_abstract"       "This text describes my WFS service." ## Recommended
-	  END
-	END
+        PROJECTION
+          "init=epsg:4326"
+        END
 
-	PROJECTION
-	  "init=epsg:4326"
-	END
+        #
+        # Start of layer definitions
+        #
 
-	#
-	# Start of layer definitions
-	#
+        ##################
+        # World Continents
+        ##################
+        LAYER 
+          NAME "continents"
+          METADATA
+            "wfs_title"         "World continents" ##REQUIRED
+            "wfs_srs"           "EPSG:4326" ## REQUIRED
+            "gml_include_items" "all" ## Optional (serves all attributes for layer)
+            "gml_featureid"     "ID" ## REQUIRED
+          END  
+          TYPE POLYGON
+          STATUS ON
+          DATA 'shapefile/countries_area'
+          PROJECTION
+            "init=epsg:4326"
+          END
+          DUMP TRUE             ## REQUIRED
+          CLASS
+            NAME 'World Continents'
+            STYLE
+              COLOR 255 128 128
+              OUTLINECOLOR 96 96 96      
+            END
+          END
+        END #layer
 
-	##################
-	# World Continents
-	##################
-	LAYER 
-	  NAME "continents"
-	  METADATA
-	    "wfs_title"         "World continents" ##REQUIRED
-	    "wfs_srs"           "EPSG:4326" ## REQUIRED
-	    "gml_include_items" "all" ## Optional (serves all attributes for layer)
-	    "gml_featureid"     "ID" ## REQUIRED
-	  END  
-	  TYPE POLYGON
-	  STATUS ON
-	  DATA 'shapefile/countries_area'
-	  PROJECTION
-	    "init=epsg:4326"
-	  END
-	  DUMP TRUE             ## REQUIRED
-	  CLASS
-	    NAME 'World Continents'
-	    STYLE
-	      COLOR 255 128 128
-	      OUTLINECOLOR 96 96 96      
-	    END
-	  END
-	END #layer
-	
-	END #mapfile
+      END #mapfile
 
 Rules for Handling SRS in MapServer WFS
 ---------------------------------------

Modified: trunk/docs/en/ogc/wms_server.txt
===================================================================
--- trunk/docs/en/ogc/wms_server.txt	2011-08-03 20:39:49 UTC (rev 11984)
+++ trunk/docs/en/ogc/wms_server.txt	2011-08-03 21:03:17 UTC (rev 11985)
@@ -1253,74 +1253,75 @@
 .. code-block:: mapfile
     :linenos:
 
-    NAME "WMS-test"
-    STATUS ON
-    SIZE 400 300
-    SYMBOLSET ../etc/symbols.sym
-    EXTENT -2200000 -712631 3072800 3840000
-    UNITS METERS
-    SHAPEPATH "../data"
-    IMAGECOLOR 255 255 255
-    FONTSET ../etc/fonts.txt
-
-    WEB
-      IMAGEPATH "/ms4w/tmp/ms_tmp/"
-      IMAGEURL "/ms_tmp/"
-      METADATA
-        "wms_title"     "WMS Demo Server"  ##required
-        "wms_onlineresource" "http://yourpath/cgi-bin/mapserv.exe?"   ##required
-        "wms_srs"       "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326"  ##recommended
-      END
-    END
-
-    PROJECTION
-      "init=epsg:42304"   ##required
-    END
-
-    #
-    # Start of layer definitions
-    #
-
-    LAYER
-      NAME "park"
-      METADATA
-        "wms_title"    "Parks"   ##required
-      END
-      TYPE POLYGON
-      STATUS OFF
-      DATA park
-      PROJECTION
-        "init=epsg:42304"   ##recommended
-      END
-      CLASS
-        NAME "Parks"
-        STYLE
-          COLOR 200 255 0
-          OUTLINECOLOR 120 120 120
+    MAP
+      NAME "WMS-test"
+      STATUS ON
+      SIZE 400 300
+      SYMBOLSET ../etc/symbols.sym
+      EXTENT -2200000 -712631 3072800 3840000
+      UNITS METERS
+      SHAPEPATH "../data"
+      IMAGECOLOR 255 255 255
+      FONTSET ../etc/fonts.txt
+    
+      WEB
+        IMAGEPATH "/ms4w/tmp/ms_tmp/"
+        IMAGEURL "/ms_tmp/"
+        METADATA
+          "wms_title"     "WMS Demo Server"  ##required
+          "wms_onlineresource" "http://yourpath/cgi-bin/mapserv.exe?"   ##required
+          "wms_srs"       "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326"  ##recommended
         END
-      END 
-    END # Layer
-
-    LAYER
-      NAME popplace
-      METADATA
-        "wms_title"    "Cities"  ##required
       END
-      TYPE POINT
-      STATUS ON
-      DATA popplace
+    
       PROJECTION
-        "init=epsg:42304"   ##recommended
+        "init=epsg:42304"   ##required
       END
-      CLASS
-        NAME "Cities"
-        STYLE
-          SYMBOL 2
-          SIZE 8
-          COLOR 0 0 0
+    
+      #
+      # Start of layer definitions
+      #
+    
+      LAYER
+        NAME "park"
+        METADATA
+          "wms_title"    "Parks"   ##required
         END
-      END 
-    END # Layer
+        TYPE POLYGON
+        STATUS OFF
+        DATA park
+        PROJECTION
+          "init=epsg:42304"   ##recommended
+        END
+        CLASS
+          NAME "Parks"
+          STYLE
+            COLOR 200 255 0
+            OUTLINECOLOR 120 120 120
+          END
+        END 
+      END # Layer
+    
+      LAYER
+        NAME popplace
+        METADATA
+          "wms_title"    "Cities"  ##required
+        END
+        TYPE POINT
+        STATUS ON
+        DATA popplace
+        PROJECTION
+          "init=epsg:42304"   ##recommended
+        END
+        CLASS
+          NAME "Cities"
+          STYLE
+            SYMBOL 2
+            SIZE 8
+            COLOR 0 0 0
+          END
+        END 
+      END # Layer
 
     END # Map File      
       



More information about the mapserver-commits mailing list