jschuengel: thuban/Extensions/umn_mapserver/test test.map,1.1,1.2

cvs@intevation.de cvs at intevation.de
Thu Jul 8 16:29:08 CEST 2004


Author: jschuengel

Update of /thubanrepository/thuban/Extensions/umn_mapserver/test
In directory doto:/tmp/cvs-serv25066/test

Modified Files:
	test.map 
Log Message:
Added a new class to the cultural Layer to test expressions and the the status of that layer from on to default.
Changed the data path the the correct Thuban Data		
Added the Outputformat Object and Symbol Object


Index: test.map
===================================================================
RCS file: /thubanrepository/thuban/Extensions/umn_mapserver/test/test.map,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test.map	10 Jun 2004 10:29:00 -0000	1.1
+++ test.map	8 Jul 2004 14:29:06 -0000	1.2
@@ -18,10 +18,28 @@
 SIZE 600 450
 
 EXTENT 622877.17 7019306.94 1095667.78 7447709.31 
-SHAPEPATH "data"
+SHAPEPATH "../../../Data/iceland"
 IMAGECOLOR 255 255 255
 IMAGETYPE PNG
 
+  OUTPUTFORMAT
+    NAME png
+    MIMETYPE image/png
+    DRIVER GD/PNG
+    EXTENSION png
+    IMAGEMODE PC256
+    TRANSPARENT FALSE
+  END
+
+  SYMBOL
+    NAME "circle"
+    TYPE ELLIPSE
+    FILLED TRUE
+    POINTS
+      1 1
+    END
+  END
+
 PROJECTION
    proj=utm
    ellps=WGS84
@@ -31,10 +49,55 @@
    #"init=epsg:26915"
 END
 
+# Scalebarobject
+SCALEBAR
+      COLOR 0 0 0
+    IMAGECOLOR 255 255 255
+    INTERVALS 4
+    LABEL
+      SIZE MEDIUM
+      TYPE BITMAP
+      BUFFER 0
+      COLOR 0 0 0
+      FORCE FALSE
+      MINDISTANCE -1
+      MINFEATURESIZE -1
+      OFFSET 0 0
+      PARTIALS TRUE
+    END
+    POSITION LL
+    SIZE 200 3
+    STATUS OFF
+    STYLE 0
+    UNITS MILES
+  END
+
+# Legend
+LEGEND
+      IMAGECOLOR 255 255 255
+    KEYSIZE 20 10
+    KEYSPACING 5 5
+    LABEL
+      SIZE MEDIUM
+      TYPE BITMAP
+      BUFFER 0
+      COLOR 0 0 0
+      FORCE FALSE
+      MINDISTANCE -1
+      MINFEATURESIZE -1
+      OFFSET 0 0
+      PARTIALS TRUE
+      POSITION CC
+    END
+    POSITION LL
+    STATUS OFF
+  END
+
+
 WEB
    TEMPLATE iceland.html
-  # IMAGEPATH "/tmp/"
-  # IMAGEURL "/tmp/"
+   IMAGEPATH "/tmpimg/"
+   IMAGEURL "/tmpurl/"
    #LOG "/tmp/iceland.log"
    MINSCALE 100000
    MAXSCALE 3000000
@@ -64,7 +127,7 @@
    TYPE POLYGON
    STATUS ON
    CLASS
-      NAME "test"
+      NAME "testclass"
       STYLE
         OUTLINECOLOR 0 0 0
         COLOR 100 200 100
@@ -99,12 +162,22 @@
    NAME "cultural"
    DATA cultural_landmark-point
    TYPE POINT
-   STATUS ON
+   STATUS default
+   CLASSITEM 'CLPOINT_'
+    CLASS
+      NAME "Punkt 9"
+      EXPRESSION "9"
+      STYLE
+        COLOR 200 200 0
+	   SYMBOL 'circle'
+        SIZE 7
+      END
+   END
    CLASS
       NAME "test3"
       STYLE
         COLOR 200 0 0
-	SYMBOL 'circle'
+	   SYMBOL 'circle'
         SIZE 7
       END
    END





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)