[mapserver-users] mapfile for my problem

G Kelley gk1611 at ship.edu
Thu Dec 20 08:02:12 PST 2001


Here's the mapfile:

------------------------------------------------------------
NAME TEST

EXTENT 471127 4751545 489292 4765610
UNITS FEET
SIZE 600 600
SHAPEPATH "/export/home/stu/gk1611/public_html/shapefiles"
INTERLACE OFF

#
# Start of layers
#
LAYER
	NAME "Parcels"
	DATA poly
	STATUS DEFAULT
	TYPE POLYGON
	CLASS
		COLOR 73 76 113
		OUTLINECOLOR 0 0 0
	END # end of class object
END # end of layer object

#
# Start of scalebar
#
SCALEBAR
  IMAGECOLOR 255 255 255
  LABEL
    COLOR 255 255 255
    SIZE tiny
  END
  STYLE 1
  SIZE 50 2
  COLOR 255 255 255
  UNITS FEET
  INTERVALS 1
  TRANSPARENT TRUE
  STATUS TRUE
END

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

WEB
	LOG "/export/home/stu/gk1611/public_html/output/mapserver.log"
	IMAGEPATH "/export/home/stu/gk1611/public_html/output/"
	IMAGEURL "/~gk1611/output/"
	TEMPLATE "../testpoly/newtest.html"
END # end of web object

END # end of map file
------------------------------------------------------------

Thanks,
Gregg




More information about the MapServer-users mailing list