[Chameleon] Changing MapFile in sample_basic_buttonizer.phtml

Keith MacLachlan keima at oppy.com
Thu Oct 23 14:36:29 EDT 2008


Skipped content of type multipart/alternative-------------- next part --------------
#-----------------------------------------
#          default
#
#     Created by TYDAC AG - Switzerland
#     www.tydac.ch / info at tydac.ch
#-----------------------------------------


NAME DEMO
SIZE 600 518
STATUS ON
EXTENT -400 -100 400 100
UNITS 
IMAGECOLOR 255 255 255
FONTSET "..\etc\fonts.txt"
SYMBOLSET "..\etc\shade.sym"

#
#          Start of web interface definition
#


WEB
	IMAGEPATH "/ms4w/tmp/ms_tmp/" 
  IMAGEURL "/ms_tmp/"
	MAXSCALE 10000
	MINSCALE 0
END # WEB Section

#REFERENCE
 #  IMAGE images/keymap.gif
 #  EXTENT -400 -100 400 100
 #  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 150 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 definition
#


LAYER
	NAME "Ocean"
	TYPE POLYGON
	MINSCALE 0
	MAXSCALE 1000000
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\ocean.TAB"
		CLASS
			NAME "Ocean"
			COLOR 164 228 252
			OUTLINECOLOR 0 0 0
		END # Class section
END # LAYER Section


LAYER
	NAME "Mexico"
	TYPE POLYGON
	MINSCALE 0
	MAXSCALE 1000000
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\Mexico.TAB"
		CLASS
			NAME "Mexico"
			COLOR 255 255 208
			OUTLINECOLOR 192 192 192
		END # Class section
END # LAYER Section


LAYER
	NAME "Canada"
	TYPE POLYGON
	MINSCALE 0
	MAXSCALE 1000000
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\Canada.TAB"
		CLASS
			NAME "Canada"
			COLOR 255 255 208
			OUTLINECOLOR 192 192 192
		END # Class section
END # LAYER Section


LAYER
	NAME "Usa"
	TYPE POLYGON
	MINSCALE 50000
	MAXSCALE 1000000
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\Usa.TAB"
		CLASS
			NAME "Usa"
			COLOR 248 252 128
			OUTLINECOLOR 0 0 0
		END # Class section
END # LAYER Section


LAYER
	NAME "States"
	TYPE POLYGON
	MINSCALE 0
	MAXSCALE 50000
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\States.TAB"
		CLASS
			NAME "States"
			COLOR 160 255 160
			OUTLINECOLOR 176 176 176
		END # Class section
END # LAYER Section


LAYER
	NAME "Places"
	TYPE POLYGON
	MINSCALE 0
	MAXSCALE 4000
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\Places.TAB"
		CLASS
			NAME "Places"
			COLOR 255 255 128
			OUTLINECOLOR 0 0 0
		END # Class section
END # LAYER Section


LAYER
	NAME "Water"
	TYPE POLYGON
	MINSCALE 0
	MAXSCALE 3000
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\Water.TAB"
		CLASS
			NAME "Water"
			COLOR 164 228 252
			OUTLINECOLOR 164 228 252
		END # Class section
END # LAYER Section


LAYER
	NAME "IntShld_15_50"
	TYPE POINT
	MINSCALE 150
	MAXSCALE 700
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\IntShld_15_50.TAB"
		CLASS
			NAME "IntShld_15_50"
			COLOR 0 0 0
			SYMBOL 'circle'
			SIZE 1
		END # Class section
END # LAYER Section


LAYER
	NAME "IntShld_5_15"
	TYPE POINT
	MINSCALE 50
	MAXSCALE 150
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\IntShld_5_15.TAB"
		CLASS
			NAME "IntShld_5_15"
			COLOR 0 0 0
			SYMBOL 'circle'
			SIZE 1
		END # Class section
END # LAYER Section


LAYER
	NAME "IntShld_0_5"
	TYPE POINT
	MINSCALE 0
	MAXSCALE 50
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\IntShld_0_5.TAB"
		CLASS
			NAME "IntShld_0_5"
			COLOR 0 0 0
			SYMBOL 'circle'
			SIZE 1
		END # Class section
END # LAYER Section


LAYER
	NAME "USState_15_50"
	TYPE POINT
	MINSCALE 150
	MAXSCALE 200
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\USState_15_50.TAB"
		CLASS
			NAME "USState_15_50"
			COLOR 0 0 0
			SYMBOL 'circle'
			SIZE 1
		END # Class section
END # LAYER Section


LAYER
	NAME "USState_5_15"
	TYPE POINT
	MINSCALE 50
	MAXSCALE 150
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\USState_5_15.TAB"
		CLASS
			NAME "USState_5_15"
			COLOR 0 0 0
			SYMBOL 'circle'
			SIZE 1
		END # Class section
END # LAYER Section


LAYER
	NAME "USState_0_5"
	TYPE POINT
	MINSCALE 0
	MAXSCALE 50
	STATUS DEFAULT
	CONNECTIONTYPE OGR
	CONNECTION "C:\ms4w\apps\chameleon\samples\data\MapInfo\Boundaries\USState_0_5.TAB"
		CLASS
			NAME "USState_0_5"
			COLOR 0 0 0
			SYMBOL 'circle'
			SIZE 1
		END # Class section
END # LAYER Section

END # MapFile


More information about the Chameleon mailing list