[mapserver-commits] r8934 - trunk/mapserver_demos/itasca

svn at osgeo.org svn at osgeo.org
Wed Apr 22 00:20:42 EDT 2009


Author: sdlime
Date: 2009-04-22 00:20:42 -0400 (Wed, 22 Apr 2009)
New Revision: 8934

Added:
   trunk/mapserver_demos/itasca/index.html
Removed:
   trunk/mapserver_demos/itasca/demo_init.html
Modified:
   trunk/mapserver_demos/itasca/demo.map
Log:
Renamed demo_init.html to index.html.

Modified: trunk/mapserver_demos/itasca/demo.map
===================================================================
--- trunk/mapserver_demos/itasca/demo.map	2009-04-22 04:11:54 UTC (rev 8933)
+++ trunk/mapserver_demos/itasca/demo.map	2009-04-22 04:20:42 UTC (rev 8934)
@@ -1,320 +1,325 @@
 #
 # Start of map file
 #
-NAME DEMO
-STATUS ON
-SIZE 600 600
-EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897
-UNITS METERS
-SHAPEPATH "data"
-IMAGECOLOR 255 255 255
+MAP
+  NAME DEMO
+  STATUS ON
+  SIZE 600 600
+  EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897
+  UNITS METERS
+  SHAPEPATH "data"
+  IMAGECOLOR 255 255 255
 
-# you may need to change this to match your MapServer build
-#IMAGETYPE PNG
+ # you may need to change this to match your MapServer build
+  #IMAGETYPE PNG
 
-#
-# Projection definition, consult the PROJ.4 documentation for parameter discussion
-#
-#PROJECTION
-#  "proj=utm"
-#  "ellps=GRS80"
-#  "zone=15"
-#  "north"
-#  "no_defs"
-#
-#  OR: 
-#
-#  "init=epsg:26915"
-#END
+  #
+  # Projection definition, consult the PROJ.4 documentation for parameter discussion
+  #
+  #PROJECTION
+  #  "proj=utm"
+  #  "ellps=GRS80"
+  #  "zone=15"
+  #  "north"
+  #  "no_defs"
+  #
+  #  OR:
+  #
+  #  "init=epsg:26915"
+  #END
 
-#
-# Start of web interface definition (including WMS enabling metadata)
-#
-WEB
-  HEADER demo_header.html
-  TEMPLATE demo.html
-  FOOTER demo_footer.html
-  MINSCALE 1000
-  MAXSCALE 1550000
-  IMAGEPATH "set in demo_init.html"
-  IMAGEURL "set in demo_init.html"
-  METADATA
-    WMS_TITLE "UMN MapServer Itasca Demo"
-    WMS_ABSTRACT "This is the UMN MapServer demonstration application for Itasca County located in north central Minnesota."
-    WMS_ACCESSCONSTRAINTS none
+  #
+  # Start of web interface definition (including WMS enabling metadata)
+  #
+  WEB
+    TEMPLATE demo.html # browsing
+  
+    MINSCALE 1000
+    MAXSCALE 1550000
 
-    # change this value to match your setup
-    WMS_ONLINERESOURCE "http://localhost.localdomain/mapserver_demos/itasca/demo_init.html"
+    #  
+    # Change these values to match your system.
+    #
+    IMAGEPATH ""
+    IMAGEURL ""
 
-    WMS_SRS "EPSG:26915"
+    METADATA
+      WMS_TITLE "UMN MapServer Itasca Demo"
+      WMS_ABSTRACT "This is the UMN MapServer demonstration application for Itasca County located in north central Minnesota."
+      WMS_ACCESSCONSTRAINTS none
+
+      # change this value to match your setup
+      WMS_ONLINERESOURCE "http://localhost.localdomain/mapserver_demos/itasca/demo_init.html"
+
+      WMS_SRS "EPSG:26915"
+    END
   END
-END
 
-QUERYMAP
-  SIZE 200 200
-  STATUS ON
-  STYLE HILITE
-  COLOR 255 0 0
-END
+  QUERYMAP
+    SIZE 200 200
+    STATUS ON
+    STYLE HILITE
+    COLOR 255 0 0
+  END
 
-#
-# Start of reference map
-#
-REFERENCE
-  IMAGE graphics/reference.png
-  EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127
-  SIZE 120 120
-  STATUS ON
-  COLOR -1 -1 -1
-  OUTLINECOLOR 255 0 0
-END
+  #
+  # Start of reference map
+  #
+  REFERENCE
+    IMAGE graphics/reference.png
+    EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127
+    SIZE 120 120
+    STATUS ON
+    COLOR -1 -1 -1
+    OUTLINECOLOR 255 0 0
+  END
 
-#
-# Start of legend
-#
-LEGEND
-  KEYSIZE 18 12
-  LABEL
-    TYPE BITMAP
-    SIZE MEDIUM
-    COLOR 0 0 89
+  #
+  # Start of legend
+  #
+  LEGEND
+    KEYSIZE 18 12
+    LABEL
+      TYPE BITMAP
+      SIZE MEDIUM
+      COLOR 0 0 89
+    END
+    STATUS ON
   END
-  STATUS ON
-END
 
-#
-# Start of scalebar
-#
-SCALEBAR
-  IMAGECOLOR 102 102 102
-  LABEL
+  #
+  # Start of scalebar
+  #
+  SCALEBAR
+    IMAGECOLOR 102 102 102
+    LABEL
+      COLOR 255 255 255
+      SHADOWCOLOR 64 64 64
+      SIZE tiny    
+    END
+    STYLE 0
+    SIZE 120 4
     COLOR 255 255 255
-    SHADOWCOLOR 64 64 64
-    SIZE tiny    
+    BACKGROUNDCOLOR 128 128 128
+    OUTLINECOLOR 64 64 64
+    UNITS MILES
+    INTERVALS 3
+    TRANSPARENT TRUE
+    STATUS TRUE
   END
-  STYLE 0
-  SIZE 120 4
-  COLOR 255 255 255
-  BACKGROUNDCOLOR 128 128 128
-  OUTLINECOLOR 64 64 64
-  UNITS MILES
-  INTERVALS 3
-  TRANSPARENT TRUE
-  STATUS TRUE
-END
 
-#
-# Start of symbol definitions (we're only using a few)
-#
-SYMBOL
-  NAME 'circle'
-  TYPE ELLIPSE
-  POINTS 1 1 END
-  FILLED TRUE
-END
+  #
+  # Start of symbol definitions (we're only using a few)
+  #
+  SYMBOL
+    NAME 'circle'
+    TYPE ELLIPSE
+    POINTS 1 1 END
+    FILLED TRUE
+  END
 
-SYMBOL
-  NAME 'crosshatch'
-  TYPE VECTOR
-  POINTS
-    0 0
-    1 1
+  SYMBOL
+    NAME 'crosshatch'
+    TYPE VECTOR
+    POINTS
+      0 0
+      1 1
+    END
   END
-END
 
-#
-# Start of layer definitions
-#
+  #
+  # Start of layer definitions
+  #
 
-LAYER
-  NAME drgs
-  TYPE RASTER
-  STATUS OFF  
-  OFFSITE 31
-  # OFFSITE 252 252 252 	
-  METADATA
-    WMS_TITLE "USGS 1:250,000 Digital Raster Graphic"
-    WMS_ABSTRACT "Hibbing and Bemidji quadrangles. See http://deli.dnr.state.mn.us/metadata/full/drgncim1.html for more information."
-    WMS_SRS "EPSG:26915"
+  LAYER
+    NAME drgs
+    TYPE RASTER
+    STATUS OFF  
+    OFFSITE 31
+    # OFFSITE 252 252 252 	
+    METADATA
+      WMS_TITLE "USGS 1:250,000 Digital Raster Graphic"
+      WMS_ABSTRACT "Hibbing and Bemidji quadrangles. See http://deli.dnr.state.mn.us/metadata/full/drgncim1.html for more information."
+      WMS_SRS "EPSG:26915"
+    END
+    TILEINDEX drgidx
   END
-  TILEINDEX drgidx
-END
 
-LAYER
-  NAME ctybdpy2
-  TYPE POLYGON
-  STATUS DEFAULT
-  DATA ctybdpy2
+  LAYER
+    NAME ctybdpy2
+    TYPE POLYGON
+    STATUS DEFAULT
+    DATA ctybdpy2
 
-  # no need for a background IF the USGS quads are being drawn
-  REQUIRES "![drgs]"
+    # no need for a background IF the USGS quads are being drawn
+    REQUIRES "![drgs]"
   
-  CLASSITEM 'cty_name'
-  CLASS
-    EXPRESSION 'Itasca'
-    OUTLINECOLOR 128 128 128    
-    COLOR 225 225 185    
-    SYMBOL 'crosshatch'
-    SIZE 2
+    CLASSITEM 'cty_name'
+    CLASS
+      EXPRESSION 'Itasca'
+      OUTLINECOLOR 128 128 128    
+      COLOR 225 225 185    
+      SYMBOL 'crosshatch'
+      SIZE 2
+    END
+    CLASS # every other county in the state
+      EXPRESSION /./ 
+      OUTLINECOLOR 128 128 128
+      COLOR 255 255 255
+    END
+    METADATA
+      WMS_TITLE "County Boundary"
+      WMS_ABSTRACT "Itasca County boundary shapefile. See http://deli.dnr.state.mn.us/metadata/full/ctybdne2.html for more information."
+      WMS_SRS "EPSG:26915"
+    END
   END
-  CLASS # every other county in the state
-    EXPRESSION /./ 
-    OUTLINECOLOR 128 128 128
-    COLOR 255 255 255
-  END
-  METADATA
-    WMS_TITLE "County Boundary"
-    WMS_ABSTRACT "Itasca County boundary shapefile. See http://deli.dnr.state.mn.us/metadata/full/ctybdne2.html for more information."
-    WMS_SRS "EPSG:26915"
-  END
-END
 
-LAYER
-  NAME mcd90py2
-  GROUP cities
-  TYPE POLYGON
-  DATA mcd90py2
-  STATUS OFF
-  CLASSITEM city_name	
-  CLASS
-    NAME "Cities & Towns"
-    EXPRESSION /./
-    COLOR 255 225 90
-    TEMPLATE "mcd90py2.html"
-  END
+  LAYER
+    NAME mcd90py2
+    GROUP cities
+    TYPE POLYGON
+    DATA mcd90py2
+    STATUS OFF
+    CLASSITEM city_name	
+    CLASS
+      NAME "Cities & Towns"
+      EXPRESSION /./
+      COLOR 255 225 90
+      TEMPLATE "mcd90py2.html"
+    END
 
-  HEADER "mcd90py2_header.html"
-  FOOTER "mcd90py2_footer.html"
+    HEADER "mcd90py2_header.html"
+    FOOTER "mcd90py2_footer.html"
 
-  DUMP TRUE # allow GML export
+    DUMP TRUE # allow GML export
 
-  METADATA
-    WMS_TITLE "Minor Civil Divisions"
-    WMS_ABSTRACT "Minor civil divisions for Itasca County. (boundaries only)"
-    WMS_SRS "EPSG:26915"
+    METADATA
+      WMS_TITLE "Minor Civil Divisions"
+      WMS_ABSTRACT "Minor civil divisions for Itasca County. (boundaries only)"
+      WMS_SRS "EPSG:26915"
+    END
   END
-END
 
-LAYER
-  NAME twprgpy3
-  TYPE POLYGON
-  DATA twprgpy3
-  STATUS OFF
-  CLASS
-    SYMBOL 'circle'
-    SIZE 2
-    NAME 'Townships'
-    OUTLINECOLOR 255 0 0
+  LAYER
+    NAME twprgpy3
+    TYPE POLYGON
+    DATA twprgpy3
+    STATUS OFF
+    CLASS
+      SYMBOL 'circle'
+      SIZE 2
+      NAME 'Townships'
+      OUTLINECOLOR 255 0 0
+    END
+    METADATA
+      WMS_TITLE "Township Boundaries"
+      WMS_ABSTRACT "Pulic Land Survey (PLS) township boundaries for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/twprgne2.html for more information."
+      WMS_SRS "EPSG:26915"
+    END
   END
-  METADATA
-    WMS_TITLE "Township Boundaries"
-    WMS_ABSTRACT "Pulic Land Survey (PLS) township boundaries for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/twprgne2.html for more information."
-    WMS_SRS "EPSG:26915"
-  END
-END
 
-LAYER
-  NAME lakespy2
-  TYPE POLYGON
-  STATUS OFF
-  DATA lakespy2
+  LAYER
+    NAME lakespy2
+    TYPE POLYGON
+    STATUS OFF
+    DATA lakespy2
 
-  CLASS
-    NAME 'Lakes & Rivers'
-    TEMPLATE "lakespy2.html"
-    COLOR 49 117 185  
-  END
+    CLASS
+      NAME 'Lakes & Rivers'
+      TEMPLATE "lakespy2.html"
+      COLOR 49 117 185  
+    END
 
-  HEADER "lakespy2_header.html"
-  FOOTER "lakespy2_footer.html"
+    HEADER "lakespy2_header.html"
+    FOOTER "lakespy2_footer.html"
   
-  TOLERANCE 3
+    TOLERANCE 3
 
-  DUMP TRUE # allow GML export
+    DUMP TRUE # allow GML export
 
-  METADATA
-    WMS_TITLE "Lakes and Rivers"
-    WMS_ABSTRACT "DLG lake and river polygons for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlglkpy2.html for more information."
-    WMS_SRS "EPSG:26915"
-  END
-END # lakes
+    METADATA
+      WMS_TITLE "Lakes and Rivers"
+      WMS_ABSTRACT "DLG lake and river polygons for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlglkpy2.html for more information."
+      WMS_SRS "EPSG:26915"
+    END
+  END # lakes
 
-LAYER
-  NAME dlgstln2
-  TYPE LINE
-  STATUS OFF
-  DATA dlgstln2
+  LAYER
+    NAME dlgstln2
+    TYPE LINE
+    STATUS OFF
+    DATA dlgstln2
 
-  CLASS
-    NAME "Streams"
-    TEMPLATE "dlgstln2.html"    
-    COLOR 49 117 185
-  END
+    CLASS
+      NAME "Streams"
+      TEMPLATE "dlgstln2.html"    
+      COLOR 49 117 185
+    END
 
-  HEADER "dlgstln2_header.html"
-  FOOTER "dlgstln2_footer.html"
+    HEADER "dlgstln2_header.html"
+    FOOTER "dlgstln2_footer.html"
 
-  TOLERANCE 5  
+    TOLERANCE 5  
 
-  DUMP TRUE # allow GML export
+    DUMP TRUE # allow GML export
 
-  METADATA
-    WMS_TITLE "Streams"
-    WMS_ABSTRACT "DLG streams for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlgstln2.html for more information."
-    WMS_SRS "EPSG:26915"
-  END
-END # streams
+    METADATA
+      WMS_TITLE "Streams"
+      WMS_ABSTRACT "DLG streams for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlgstln2.html for more information."
+      WMS_SRS "EPSG:26915"
+    END
+  END # streams
 
-LAYER
-  NAME ctyrdln3
-  GROUP roads
-  MAXSCALE 300000
-  STATUS OFF
-  DATA ctyrdln3
-  TYPE LINE
-  CLASS
-    COLOR 0 0 0
-  END
+  LAYER
+    NAME ctyrdln3
+    GROUP roads
+    MAXSCALE 300000
+    STATUS OFF
+    DATA ctyrdln3
+    TYPE LINE
+    CLASS
+      COLOR 0 0 0
+    END
 
-  METADATA
-    WMS_TITLE "County Roads"
-    WMS_ABSTRACT "County roads. (lines only)  Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information."
-    WMS_SRS "EPSG:26915"
-  END
-END # county roads
+    METADATA
+      WMS_TITLE "County Roads"
+      WMS_ABSTRACT "County roads. (lines only)  Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information."
+      WMS_SRS "EPSG:26915"
+    END
+  END # county roads
 
-LAYER
-  NAME ctyrdln3_anno
-  GROUP roads
-  MAXSCALE 300000
-  STATUS OFF
-  DATA ctyrdln3
-  TYPE ANNOTATION
-  LABELITEM "road_name"
-  CLASS
-    COLOR 255 255 255
-    SYMBOL 'symbols/ctyhwy.png'    
-    LABEL
-      MINFEATURESIZE 40
-      MINDISTANCE 150
-      POSITION CC
-      SIZE TINY
-      COLOR 0 0 0
+  LAYER
+    NAME ctyrdln3_anno
+    GROUP roads
+    MAXSCALE 300000
+    STATUS OFF
+    DATA ctyrdln3
+    TYPE ANNOTATION
+    LABELITEM "road_name"
+    CLASS
+      COLOR 255 255 255
+      SYMBOL 'symbols/ctyhwy.png'    
+      LABEL
+        MINFEATURESIZE 40
+        MINDISTANCE 150
+        POSITION CC
+        SIZE TINY
+        COLOR 0 0 0
+      END
     END
-  END
     
-  METADATA
-    WMS_TITLE "County Roads"
-    WMS_ABSTRACT "County roads. (shields only)  Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information."
-    WMS_SRS "EPSG:26915"
-  END
-END # county road annotation
+    METADATA
+      WMS_TITLE "County Roads"
+      WMS_ABSTRACT "County roads. (shields only)  Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information."
+      WMS_SRS "EPSG:26915"
+    END
+  END # county road annotation
 
-LAYER
-  NAME majrdln3
-  GROUP roads
-  MAXSCALE 600000
-  STATUS OFF
+  LAYER
+    NAME majrdln3
+    GROUP roads
+    MAXSCALE 600000
+    STATUS OFF
   DATA majrdln3
   TYPE LINE
   CLASS

Deleted: trunk/mapserver_demos/itasca/demo_init.html
===================================================================
--- trunk/mapserver_demos/itasca/demo_init.html	2009-04-22 04:11:54 UTC (rev 8933)
+++ trunk/mapserver_demos/itasca/demo_init.html	2009-04-22 04:20:42 UTC (rev 8934)
@@ -1,28 +0,0 @@
-<html>
-<head><title>MapServer Demo Interface</title></head>
-<body bgcolor="#FFFFFF">
-
-<center><h2>MapServer Demo Interface</h2></center>
-<p><hr><p>
-Click on the initialize button to fire up the demo with 2 layers turned on will be accessible for browsing. The
-data are of Itasca County, MN and were derived, for the most part, from USGS 1:24,000 quadrangles. Some things to note are:
-
-<form method=GET action="/cgi-bin/mapserv">
-
-<input type="hidden" name="map" value="/usr/local/apache/htdocs/mapserver_demos/itasca/demo.map">
-<input type="hidden" name="layer" value="lakespy2">
-<input type="hidden" name="layer" value="dlgstln2">
-<input type="hidden" name="zoomsize" value=2>
-
-<input type="hidden" name="program" value="/cgi-bin/mapserv">
-<input type="hidden" name="root" value="/mapserver_demos/itasca">
-<input type="hidden" name="map_web_imagepath" value="/usr/local/apache/htdocs/tmp/">
-<input type="hidden" name="map_web_imageurl" value="/tmp/">
-
-<center><input type="submit" value="Initialize"></center>
-
-</form>
-
-<p><hr><p>
-
-</body></html>

Added: trunk/mapserver_demos/itasca/index.html
===================================================================
--- trunk/mapserver_demos/itasca/index.html	                        (rev 0)
+++ trunk/mapserver_demos/itasca/index.html	2009-04-22 04:20:42 UTC (rev 8934)
@@ -0,0 +1,28 @@
+<html>
+<head><title>MapServer Demo Interface</title></head>
+<body bgcolor="#FFFFFF">
+
+<center><h2>MapServer Demo Interface</h2></center>
+<p><hr><p>
+Click on the initialize button to fire up the demo with 2 layers turned on will be accessible for browsing. The
+data are of Itasca County, MN and were derived, for the most part, from USGS 1:24,000 quadrangles. Some things to note are:
+
+<form method=GET action="/cgi-bin/mapserv">
+
+<input type="hidden" name="map" value="/usr/local/apache/htdocs/mapserver_demos/itasca/demo.map">
+<input type="hidden" name="layer" value="lakespy2">
+<input type="hidden" name="layer" value="dlgstln2">
+<input type="hidden" name="zoomsize" value=2>
+
+<input type="hidden" name="program" value="/cgi-bin/mapserv">
+<input type="hidden" name="root" value="/mapserver_demos/itasca">
+<input type="hidden" name="map_web_imagepath" value="/usr/local/apache/htdocs/tmp/">
+<input type="hidden" name="map_web_imageurl" value="/tmp/">
+
+<center><input type="submit" value="Initialize"></center>
+
+</form>
+
+<p><hr><p>
+
+</body></html>



More information about the mapserver-commits mailing list