[Chameleon] XMLThemeLegend

Mony me.pezoa at gmail.com
Wed Feb 22 17:36:44 EST 2006


Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image1.jpg
Type: image/jpeg
Size: 12275 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/chameleon/attachments/20060222/fa9e0bf2/Image1-0001.jpg
-------------- next part --------------
#
# Start of WMS Server map file
#
#
NAME WMS_server
STATUS ON
SIZE 400 300
SYMBOLSET ../etc/symbols.sym
## ESPG:37219 extents:
EXTENT 141466 6233311 433091 6461048
UNITS METERS
SHAPEPATH "../data/base"
IMAGECOLOR 255 255 255
FONTSET ../etc/fonts.txt
TRANSPARENT TRUE


#
# Start of web interface definition
#
WEB
#
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root 
# of the drive where the .MAP file resides.
#
  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
  IMAGEURL "/ms_tmp/"
  METADATA
    "wms_title"   "MONITA GORE QUINTA MAP SERVER"
    "wms_onlineresource" "http://127.0.0.1/cgi-bin/mapserv.exe?MAP=/ms4w/apps/chameleon/samples/map/gore_wms.map"
    "wms_srs"   "EPSG:37219"
    "wms_feature_info_mime_type" "text/html"
    "wms_abstract"      "This demonstration server was setup by DM Solutions Group (http://www.dmsolutions.ca/) and is powered by the UMN MapServer (http://mapserver.gis.umn.edu/).  This server uses Canadian source data (c)2000, Government of Canada with permission from Natural Resources Canada from NRCan's GeoGratis 
web site (http://geogratis.cgdi.gc.ca/)."
  END
END

PROJECTION
  "init=epsg:37219"
END

#
# Start of reference map
#
REFERENCE
   IMAGE images/keymap.png
#EPSG:37219 extents
   EXTENT 141466 6233311 433091 6461048
   STATUS ON
  COLOR -1 -1 -1
  OUTLINECOLOR 255 0 0
  SIZE 120 90      
END

#
# Start of legend
#
LEGEND
  KEYSIZE 18 12
  LABEL
    TYPE BITMAP
    SIZE MEDIUM
    COLOR 0 0 89
  END
  STATUS ON
END

#
# Start of scalebar
#
SCALEBAR
  IMAGECOLOR 255 255 255
  LABEL
    COLOR 0 0 0 
    SIZE SMALL
  END
  SIZE 200 5
  COLOR 255 255 255
  BACKGROUNDCOLOR 0 0 0
  OUTLINECOLOR 0 0 0
  UNITS kilometers
  INTERVALS 5
  STATUS ON
END


QUERYMAP
  STYLE HILITE
  COLOR 255 0 0
END


#
# Start of layer definitions
#
LAYER
  GROUP "Line"
  NAME Curvas_Nivel
  METADATA
    "DESCRIPTION" "Curvas de Nivel V Región"
    "GROUP" "Line"
    "LAYER" "curvas84"
  END
  TYPE LINE
  STATUS OFF
  DATA curvas84
  CLASS
    NAME "Curvas_Nivel"
    COLOR 198 176 130
  END
PROJECTION
   	 "init=epsg:32719"
	END
END # layer
END # Map File


More information about the Chameleon mailing list