[Mapserver-users] experiences with mapserver et MAPINFO

Merrett, Mike mike.merrett at city.whitehorse.yk.ca
Thu Jun 17 09:25:02 PDT 2004


here is a complete map file I use for mapinfo files and some rasters tiff
and ecw

everything else I use is basically from the gmap75 demo with rosa (slightly
modified to handle groups and a few other minor things better (at least to
me)

#
# Start of map file
MAP
	###CONFIG MS_ERRORFILE 'gmap_dev.log'
	CONFIG "PROJ_DEBUG" "OFF"

	debug true
	NAME 'City of Whitehorse'
	STATUS ON
	SIZE 500 400
	SYMBOLSET "e:\\VariousData\\Devel\\map_test\\etc\\symbols.sym"
	extent 485108.508198 6714194.605109 506888.578325 6745540.034837

	UNITS METERS
	SHAPEPATH "e:\\VariousData\\Devel\\map_test\\data"
	FONTSET "e:\\VariousData\\Devel\\map_test\\etc\\fonts.txt"


	IMAGECOLOR 255 255 255
	#transparent off

	#IMAGETYPE png24
	imagetype gif


	#
	# Start of web interface definition
	#
	WEB
		#MINSCALE 2000000
		minscale 50
		MAXSCALE 60000000
			#
			# On Windows systems, /tmp and /tmp/ms_tmp/ should
be created at the root
			# of the drive where the .MAP file resides.
			#

		IMAGEPATH "e:\\VariousData\\Devel\\map_test\\tmp\\"
		IMAGEURL "/map_test/tmp/"
		log 'e:\\VariousData\\Devel\\map_test\\tmp\\gmap.log'
		METADATA
			"title" "Whitehorse, YT (General)"
			"author" "Mike Merrett"

		END

	END

	#
	# Start of reference map
	#
	REFERENCE
		IMAGE images/City_of_Whitehorse_key.png
		extent 485108.508198 6714194.605109 506888.578325
6745540.034837

		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
		#template "legend.html"
	END

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


	QUERYMAP
		STYLE HILITE   #selected
		COLOR 255 0 0
	 # status on
	END


OUTPUTFORMAT
  NAME gif
  DRIVER "GD/GIF"
  MIMETYPE "image/gif"
  IMAGEMODE PC256
  EXTENSION "gif"
END

OUTPUTFORMAT
  NAME png24
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE rgba
  EXTENSION "png"
END
OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE PC256
  EXTENSION "png"
END
OUTPUTFORMAT
  NAME jpeg
  DRIVER "GD/JPEG"
  MIMETYPE "image/jpeg"
  IMAGEMODE RGB
  EXTENSION "jpg"
END
OUTPUTFORMAT
  NAME wbmp
  DRIVER "GD/WBMP"
  MIMETYPE "image/wbmp"
  IMAGEMODE PC256
  EXTENSION "wbmp"
END
OUTPUTFORMAT
  NAME swf
  DRIVER "SWF"
  MIMETYPE "application/x-shockwave-flash"
  EXTENSION "swf"
  IMAGEMODE PC256
  FORMATOPTION "OUTPUT_MOVIE=SINGLE"
END
OUTPUTFORMAT
  NAME GTiff
  DRIVER "GDAL/GTiff"
  MIMETYPE "image/tiff"
  IMAGEMODE RGB
  EXTENSION "tif"
END

	#
	# Start of layer definitions
	#

	layer
		debug on
		name "Colour Satellite Image 8bit"
		metadata
			"wms_title" "Colour Satellite Image8"
		end
		type raster
		status off
		data
"e:\GIS_Claims\gisdata\MapInfo\OrthoPhoto\Satellite_images\test\whitehorse_q
b.tif"

		class
			name "Colour Satellite Image8"
		end
		projection
			auto
		end
	end


	LAYER
		debug off
		NAME "Yukon Satellite Image"
		metadata
			Description  "Yukon Satellite Image"
			wms_title "Yukon Satellite Image"
		end
		TYPE RASTER
		STATUS Off
		data
"e:\GIS_Claims\gisdata\MapInfo\OrthoPhoto\Satellite_images\Yukon_Images\Yuko
nMosaicShadedRelief90m.tif"
		#PROCESSING "BANDS=1,2"
		PROCESSING "BANDS=1,2,3,4"
    #OFFSITE 71 74 65
#minscale 1700

			#PROCESSING "BANDS=3,2,1,4"
		processing "BANDS=1,2,3,4"

		class
			name "Yukon Satellite Image"
		end
	END





	layer
		#debug true
		name "tiled ortho"
		type raster
		#TYPE TILEINDEX
		tileindex
"e:\gis_claims\gisdata\MapInfo\OrthoPhoto\RotatedOrthos\Rotated_Sht1-4_1m_re
gion"
		tileitem 'LOCATION'
		class
			name "index"
		end
	end

	LAYER
		debug on
		NAME "Ortho Sheet 1"
		METADATA
			DESCRIPTION "Ortho Sheet 1"
		END
		Group "Ortho Photos"
		TYPE raster
		STATUS Off
		data
"e:\GIS_Claims\gisdata\MapInfo\OrthoPhoto\RotatedOrthos\RotatedSht1_1m.tif"
		CLASS
			name "Ortho Photo Sheet 1"
			keyimage "gray_blob.png"
		END
	END # layer

	LAYER
		debug on
		NAME "Ortho Sheet 2"
		METADATA
			DESCRIPTION "Ortho Sheet 2"
		END
		Group "Ortho Photos"
		TYPE raster
		STATUS Off
		data
"e:\GIS_Claims\gisdata\MapInfo\OrthoPhoto\RotatedOrthos\RotatedSht2_1m.tif"
		CLASS
			name "Ortho Photo Sheet 2"
			keyimage "gray_blob.png"
		END
	END # layer

	LAYER
		debug on
		NAME "Ortho Sheet 3"
		METADATA
			DESCRIPTION "Ortho Sheet 3"
		END
		Group "Ortho Photos"
		TYPE raster
		STATUS Off
		data
"e:\GIS_Claims\gisdata\MapInfo\OrthoPhoto\RotatedOrthos\RotatedSht3_1m.tif"
		CLASS
			name "Ortho Photo Sheet 3"
			keyimage "gray_blob.png"
		END
	END # layer

	LAYER
		debug on
		NAME "Ortho Sheet 4"
		METADATA
			DESCRIPTION "Ortho Sheet 4"
		END
		Group "Ortho Photos"
		TYPE raster
		STATUS Off
		data
"e:\GIS_Claims\gisdata\MapInfo\OrthoPhoto\RotatedOrthos\RotatedSht4_1m.tif"
		CLASS
			name "Ortho Photo Sheet 4"
			keyimage "gray_blob.png"
		END
	END # layer



	LAYER
		debug on
		NAME "City Streets"
		METADATA
			DESCRIPTION "City Streets"
		END
		TYPE POLYGON
		CONNECTIONTYPE OGR
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\City_Streets.TAB"
		STATUS Off
		#maxscale 8000
		#minscale 100
		LABELITEM "street_name"
		LABELMAXSCALE 5000
		LABELminscale 1000
		TRANSPARENCY 50
		CLASS
			name "City Streets"
			color 145 137 103
			#outlinecolor 120 120 120
			LABEL
				COLOR 132 31 31
				SHADOWCOLOR 218 218 218
				SHADOWSIZE 2 2
				TYPE TRUETYPE
				FONT arial
				SIZE 8
				ANTIALIAS TRUE
#				#POSITION CL
				position auto
				PARTIALS true
#				#MINDISTANCE 300
				BUFFER 1
				ANGLE AUTO
			END # end of label

		END
		PROJECTION
				##  <32608>
			"proj=utm"
			#"init=epsg:32608"
			"ZONE=8"
			"ellps=WGS84"
			"datum=WGS84"
			"units=m"
			"north"
			"no_defs"
		END
	END # Layer


	LAYER
		debug on
		NAME "Streams Indefinite"
		Group "Streams, Rivers, Lakes"
		METADATA
			DESCRIPTION "Streams Indefinite"
		END
		TYPE LINE
		STATUS Off
		CONNECTIONTYPE OGR
		CONNECTION "e:\GIS_Claims\gisdata\MapInfo\Draft Surface
Water Inventory\StreamsIndefinite.TAB"
		minscale 100
		CLASS
			name "Streams indefinite"
			color  225 249 255
			outlinecolor 186 234 245
		END
		PROJECTION
				##  <32608>
			"proj=utm"
			#"init=epsg:32608"
			"ZONE=8"
			"ellps=WGS84"
			"datum=WGS84"
			"units=m"
			"north"
			"no_defs"
		END
	END # layer



	LAYER
		debug on
		NAME Streams
		Group "Streams, Rivers, Lakes"
		METADATA
			DESCRIPTION "Streams"
		END
		TYPE LINE
		STATUS Off
		CONNECTIONTYPE OGR
		CONNECTION "e:\GIS_Claims\gisdata\MapInfo\Draft Surface
Water Inventory\Streams.tab"
		#minscale 100
		LABELITEM "Name"
		LABELMAXSCALE 8000
		LABELminscale 1000
		CLASS
			name "Streams"
			COLOR 225 249 255
			OUTLINECOLOR 186 234 245
			SIZE 2
			LABEL
				COLOR 186 234 245
				SHADOWCOLOR 0 0 0
				SHADOWSIZE 1 1
				TYPE TRUETYPE
				FONT arial
				SIZE 8
				ANTIALIAS TRUE
				#POSITION CL
				position auto
				PARTIALS true
				MINDISTANCE 300
				BUFFER 4
				ANGLE AUTO
			END # end of label
		END
	END # layer

	LAYER
		debug on
		NAME Rivers
		Group "Streams, Rivers, Lakes"
		METADATA
			DESCRIPTION "Rivers"
		END
		TYPE POLYGON
		STATUS Off
		CONNECTIONTYPE OGR
		CONNECTION    "e:\GIS_Claims\gisdata\MapInfo\Draft Surface
Water Inventory\River.tab"
		minscale 100
		CLASS
			name "Rivers"
			COLOR 225 249 255
			OUTLINECOLOR 186 234 245
		END
	END # layer


	LAYER
		debug on
		NAME Lakes
		Group "Streams, Rivers, Lakes"
		METADATA
			DESCRIPTION "Lakes"
		END
		TYPE POLYGON
		STATUS off
		CONNECTIONTYPE OGR
		CONNECTION    "e:\GIS_Claims\gisdata\MapInfo\Draft Surface
Water Inventory\Lakes.tab"
		LABELITEM "Name"
		LABELMAXSCALE 15000
		LABELminscale 1000
		minscale 100
		CLASS
			name "Lakes"
			COLOR 225 249 255
			OUTLINECOLOR 186 234 245
			LABEL
				COLOR 186 234 245
				SHADOWCOLOR 0 0 0
				SHADOWSIZE 1 1
				TYPE TRUETYPE
				FONT arial
				SIZE 8
				ANTIALIAS TRUE
				#POSITION CL
				position auto
				PARTIALS true
				MINDISTANCE 300
				BUFFER 4
			END # end of label
		END
	END # layer

	LAYER
		debug on
		NAME Zoning
		METADATA
			DESCRIPTION "Zoning"
		END
		TYPE polygon
		STATUS Off
		CONNECTIONTYPE OGR
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Zoning\ZoneRegions.tab"
		minscale 100
		LABELITEM "ZoningDesignation"
		LABELMAXSCALE 5000
		LABELminscale 1000
		maxscale 8000
		CLASS
			name "Zoning"
			# COLOR 125 149 155
			OUTLINECOLOR 86 134 145
			LABEL
				color 70 87 74
				shadowcolor 138 159 143
				SHADOWSIZE 1 1
				TYPE TRUETYPE
				FONT arial
				SIZE 8
				ANTIALIAS TRUE
				#POSITION CL
				position auto
				PARTIALS true
				MINDISTANCE 300
				BUFFER 4
			END # end of label
		END
	END # layer


	LAYER
		debug on
		NAME Subdivision
		METADATA
			DESCRIPTION "Subdivision"
		END
		TYPE POLYGON
		STATUS Off
		CONNECTIONTYPE OGR
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\Subdivision_NEW.TAB"
		minscale 100
		LABELITEM "Subdivision"
		#LABELMAXSCALE 25000
		LABELMINSCALE 2000
		CLASS
			name "Subdivision"
			#COLOR 125 149 155
			OUTLINECOLOR 46 254 62

			LABEL
				COLOR 46 254 62
				SHADOWCOLOR 66 24 82
				SHADOWSIZE 1 1
				#TYPE TRUETYPE
				#FONT arial
				#SIZE 8
				ANTIALIAS TRUE
				#POSITION CL
				position auto
				PARTIALS true
				MINDISTANCE 5
				BUFFER 1

			END # end of label
		 END
	END # layer


	LAYER
		debug on
		NAME "Document Envelope"
		group "Cadastre Layers"
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\DOCENV_region.TAB"
		CONNECTIONTYPE OGR
		METADATA
			DESCRIPTION	"Doc_env"
			RESULT_FIELDS	"DXF_TEXT"
		END
		#SIZEUNITS PIXELS
		STATUS On
		TOLERANCE 5
		TOLERANCEUNITS meters
		TYPE POLYGON
		#UNITS METERS
		minscale 100
		maxscale 3000
		CLASS
			NAME "Doc_Envelope"
			template "W.html"
			STYLE
				OUTLINECOLOR 122 167 203
				#SIZE 1
				#SYMBOL 0
			END
		END
	END # layer





	LAYER
		debug on
		NAME "Condo"
		group "Cadastre Layers"
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\Condo_POLY.TAB"
		CONNECTIONTYPE OGR
		#data "cad_poly_region"
		METADATA
			DESCRIPTION	"Condo"
			RESULT_FIELDS	"upi PLAN_NO LTO_NO LEGAL_DESC"
		END
		#SIZEUNITS PIXELS
		STATUS On
		#TOLERANCE 5
		#TOLERANCEUNITS meters
		TYPE POLYGON
		#UNITS METERS
		minscale 100

		CLASS
			NAME "condo"
			template "x.html"
			STYLE
				OUTLINECOLOR 111 23 227
				SIZE 1
				SYMBOL 0
			END
		END
	END # layer




	LAYER
		debug on
		NAME "Unsurveyed"
		group "Cadastre Layers"
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\UNSURV_POLY.TAB"
		CONNECTIONTYPE OGR
		#data "cad_poly_region"
		METADATA
			DESCRIPTION	"Unsurveyed"
			RESULT_FIELDS	"upi PLAN_NO LTO_NO LEGAL_DESC"
		END
		#SIZEUNITS PIXELS
		STATUS On
		#TOLERANCE 5
		#TOLERANCEUNITS meters
		TYPE POLYGON
		#UNITS METERS
		minscale 100

		CLASS
			NAME "Unsurveyed"
			template "x.html"
			STYLE
				OUTLINECOLOR 255 155 0
				SIZE 1
				SYMBOL 0
			END
		END
	END # layer


	LAYER
		#debug false
		NAME "Cadastre Text"
		#group "Cadastre Layers"
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\CAD_text.tab"
		CONNECTIONTYPE OGR
		METADATA
			DESCRIPTION	"Cadastre Text"
		END
		STATUS On
		#type point
		TYPE annotation
		minscale 100
		MAXSCALE 5000
		STYLEITEM "AUTO"
		#classitem "cad_text"
		LABELITEM "TEXT"
		CLASS
			debug true
			NAME "Cadastre Text"
			symbol 1
			#keyimage "black_a.png"
			#OUTLINECOLOR 86 134 145
			LABEL
				position auto
				PARTIALS true
				angle auto

			END # end of label
		END
	END # layer
#
	LAYER
		debug on
		NAME "Address Number"
		group "Cadastre Layers"
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\CAD_address.tab"
		CONNECTIONTYPE OGR
		METADATA
			DESCRIPTION	"Address Number"
			#RESULT_FIELDS	"upi PLAN_NO LTO_NO LEGAL_DESC"
		END
		STATUS On
		TYPE point
		minscale 100
		MAXSCALE 5000
		Styleitem "AUTO"
		#LABELANGLEITEM CLASS.LABEL.ANGLE
		#LABELITEM "TEXT"
		CLASS
			NAME "Address Number"
			keyimage "red_a.png"
		END
	END # layer


	LAYER
		debug on
		NAME "Cadastre"
		group "Cadastre Layers"
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\Cadastre\CAD_POLY.tab"
		CONNECTIONTYPE OGR
		#data "cad_poly_region"
		METADATA
			DESCRIPTION	"Cadastre"
			RESULT_FIELDS	"upi PLAN_NO LTO_NO LEGAL_DESC"
		END
		#SIZEUNITS PIXELS
		STATUS On
		#TOLERANCE 5
		#TOLERANCEUNITS meters
		TYPE POLYGON
		#UNITS METERS
		minscale 100

		CLASS
			debug on
			NAME "Cadastre"
			template "x.html"
			STYLE
				OUTLINECOLOR 255 255 0
				SIZE 1
				SYMBOL 0
			END
		END
	END # layer

#	LAYER
#	  NAME "GRID"
#	  PROJECTION
#			#  			"proj=utm"
#			#		"ZONE=8"
#			#		"ellps=WGS84"
#			#		"DATUM=WGS84"
#			#		"UNITS=m"
#			#		"north"
#			#		"no_defs"
#			"proj=latlong"
#			"ellps=WGS84"
#			"datum=WGS84"
#		END
#		TYPE LINE
#		STATUS off
#		CLASS
#			name "Grid"
#			COLOR 0 255 128
#			LABEL
#				TYPE BITMAP
#				SIZE MEDIUM
#				COLOR 255 128 89
#			END
#		END
#		GRID
#			MINSUBDIVIDE 64
#			MAXSUBDIVIDE 64
#			LABELFORMAT "DDMMSS"
#
#		END
#
#	END


	LAYER
		debug on
		NAME "City Parks"
		#group "Cadastre Layers"
		CONNECTION
"e:\GIS_Claims\gisdata\MapInfo\City_Layers\City_Parks.tab"
		CONNECTIONTYPE OGR
		#data "cad_poly_region"
		METADATA
			DESCRIPTION	"City Parks"
		END
		STATUS Off
		TYPE POLYGON
		minscale 100
				#STYLEITEM "AUTO"
		CLASS
			NAME "City Parks"
			STYLE
				OUTLINECOLOR 17 255 120
				color 17 255 120
				SIZE 1
				SYMBOL 0
			END
		END
	END # layer

	layer
		debug on
		name "Overall Water - Poly"
		group "Overall Water"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\Water_combined.t
ab"
		connectiontype OGR
		metadata
			description "Overall Water - Poly"
		end
		minscale 100
		MAXSCALE 10000
		status off
		type polygon
		styleitem "auto"
		class
			name "Overall Water - Poly"
			keyimage "blue_line.gif"
		end
	end

	layer
		debug on
		name "Overall Water - Lines"
		group "Overall Water"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\Water_combined.t
ab"
		connectiontype OGR
		metadata
			description "Overall Water - Lines"
		end
		status off
		minscale 100
		MAXSCALE 10000

		type LINE
		styleitem "auto"
		class
			name "Overall Water - Lines"
			keyimage "blue_poly.png"
		end
	end
	layer
		debug on
		name "Overall Water - Text"
		group "Overall Water"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\Water_combined.t
ab"
		connectiontype OGR
		metadata
			description "Overall Water - Text"
		end
		minscale 100
		MAXSCALE 3000

		status off
		type ANNOTATION
		styleitem "auto"
		class
			name "Overall Water - Text"
			keyimage "blue_a.png"
		end
	end

	layer
		debug on
		name "Overall Sanitation - Poly"
		group "Overall Sanitation"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\sanitation.tab"
		connectiontype OGR
		metadata
			description "Overall Sanitation - Poly"
		end
		minscale 100
		MAXSCALE 10000
		status off
		type polygon
		styleitem "auto"
		class
			name "Overall Sanitation - Poly"
			keyimage "red_poly.png"
		end
	end
	layer
		debug on
		name "Overall Sanitation - Point"
		group "Overall Sanitation"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\sanitation.tab"
		connectiontype OGR
		metadata
			description "Overall Sanitation - Point"
		end
		minscale 100
		MAXSCALE 3000
		status off
		type point
		styleitem "auto"
		class
			name "Overall Sanitation - Point"
			#keyimage "red_poly.png"
		end
	end
	layer
		debug on
		name "Overall Sanitation - Lines"
		group "Overall Sanitation"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\sanitation.tab"
		connectiontype OGR
		metadata
			description "Overall Sanitation - Lines"
		end
		status off
		minscale 100
		MAXSCALE 10000
		type line
		styleitem "auto"
		class
			name "Overall Sanitation - Lines"
			keyimage "red_line.gif"
		end
	end
	layer
		debug on
		name "Overall Sanitation - Text"
		group "Overall Sanitation"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\sanitation.tab"
		connectiontype OGR
		metadata
			description "Overall Sanitation - Text"
		end
		minscale 100
		MAXSCALE 3000
		status off
		type annotation
		styleitem "auto"
		class
			name "Overall Sanitation - Text"
			keyimage "red_a.png"
		end
	end


	layer
		debug on
		name "Overall Storm Drain - Poly"
		group "Overall Storm Drain"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\Storm_Drains.tab
"
		connectiontype OGR
		metadata
			description "Overall Storm Drain - Poly"
		end
		minscale 100
		MAXSCALE 10000
		status off
		type polygon
		styleitem "auto"
		class
			name "Overall Storm Drain - Poly"
			keyimage "green_a.png"
		end
	end
	layer
		debug on
		name "Overall Storm Drain - Point"
		group "Overall Storm Drain"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\Storm_Drains.tab
"
		connectiontype OGR
		metadata
			description "Overall Storm Drain - Point"
		end
		minscale 100
		MAXSCALE 3000
		status off
		type point
		styleitem "auto"
		class
			name "Overall Storm Drain - Point"
			#keyimage "green_a.png"
		end
	end
	layer
		debug on
		name "Overall Storm Drain - Lines"
		group "Overall Storm Drain"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\Storm_Drains.tab
"
		connectiontype OGR
		metadata
			description "Overall Storm Drain - Lines"
		end
		status off
		minscale 100
		MAXSCALE 10000
		type line
		styleitem "auto"
		class
			name "Overall Storm Drain - Lines"
			keyimage "green_a.png"
		end
	end
	layer
		debug on
		name "Overall Storm Drain - Text"
		group "Overall Storm Drain"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\Storm_Drains.tab
"
		connectiontype OGR
		metadata
			description "Overall Storm Drain - Text"
		end
		minscale 100
	MAXSCALE 3000
		status off
		type annotation
		styleitem "auto"
		class
			name "Overall Storm Drain - Text"
			keyimage "green_a.png"
		end
	end




	layer
		debug on
		name "Wildlife Sightings"
		group "Wildlife Sightings"
		connection
"e:\GIS_Claims\gisdata\MapInfo\User_DATA\Mike_Merrett\wildlife\Wildlife_Sigh
tings_Working_Copy.TAB"
		connectiontype OGR
		metadata
			description "Wildlife Sightings"
			RESULT_FIELDS	"Species Comments Date Time"
		end
		#minscale 100
		#MAXSCALE 5000
		status off
		type point
		#styleitem "auto"
		TOLERANCE 40
		TOLERANCEUNITS meters
		classitem Species
		class
			expression 'Beaver'
			template "x.html"
			name "Wildlife Sightings - beaver"
			color 255 128 0
			symbol 'beaver'
			size 15
		end
		class
			expression 'Black bear'
			name "Wildlife Sightings - black bear"
			template "x.html"
			color 0 0  100
			symbol 'black_bear'
			#symbol 1
			size 15
		end
		class
			expression 'Caribou'
			template "x.html"
			name "Wildlife Sightings - caribou"
			color 255 128 0
			symbol 'caribou'
			size 15
		end
		class
			expression 'Coyote'
			name "Wildlife Sightings - coyote"
			template "x.html"
			color 255 128 255
			symbol 'coyote'
			size 20
		end
		class
			expression 'Fox'
			template "x.html"
			name "Wildlife Sightings - fox"
			color 255 128 0
			symbol 'fox'
			size 15
		end

		class
			expression 'Grizzly bear'
			name "Wildlife Sightings - Grizzly bear"
			template "x.html"
			color 0 0  100
			symbol 'grizzly'
			size 15
		end
		class
			expression 'Lynx'
			template "x.html"
			name "Wildlife Sightings - Lynx"
			color 255 128 0
			symbol 'lynx'
			size 15
		end
		class
			expression 'Marten'
			template "x.html"
			name "Wildlife Sightings - marten"
			color 255 128 0
			symbol 'marten'
			size 15
		end

		class
			expression 'Moose'
			name "Wildlife Sightings - moose"
			template "x.html"
			color 255 128 255
			symbol 'moose'
			size 15
		end
		class
			expression 'Mule deer'
			name "Wildlife Sightings - mule deer"
			template "x.html"
			color 255 128 255
			symbol 'deer'
			size 20
		end
		class
			expression 'Porcupine'
			template "x.html"
			name "Wildlife Sightings - porcupine"
			color 255 128 0
			symbol 'porcupine'
			size 15
		end
		class
			expression 'River otter'
			template "x.html"
			name "Wildlife Sightings - River Otter"
			color 255 128 0
			symbol 'otter'
			size 15
		end

		class
			expression 'Trumpeter swan'
			template "x.html"
			name "Wildlife Sightings - trumpeter swan"
			color 255 128 0
			symbol 'swan'
			size 15
		end
		class
			expression 'Weasel'
			template "x.html"
			name "Wildlife Sightings - weasel"
			color 255 128 0
			symbol 'weasel'
			size 15
		end
		class
			expression 'Wolverine'
			template "x.html"
			name "Wildlife Sightings - wolverine"
			color 255 128 0
			symbol 'wolverine'
			size 15
		end

		class
			expression 'Wolf'
			name "Wildlife Sightings - wolf"
			template "x.html"
			color 255 128 255
			symbol 'wolf'
			size 15
		end
		class
			## default class
			#expression 'Mule deer'
			name "Wildlife Sightings - others"
			template "x.html"
			color 255 128 255
			symbol 7
			size 10
		end

	end


END # Map File




-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of Belenfant
Eric
Sent: June 17, 2004 8:05 AM
To: Mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] experiences with mapserver et MAPINFO


Hi everybody,

i'm wondering yet the opportunity to use mapserver.
In fact we have MAPINFO to generate maps, and it seems that working with 
MAPINFO files in mapserver is a little complicated.
So, does anyone can share an experience using mapserver and MAPINFO ???
I would be so happy to have a full project, it would justify the choice 
of mapserver !!!

thanks in advance

eric
-- 
eric BELENFANT
*Tel* : 02.38.79.45.98
------------------------
pôle SYSTEMES PARTAGES
*DEP - rectorat d'Orléans-Tours*
---------------------------------------------------
/Pour toute information sur la DEP ou pour obtenir des statistiques sur 
l'académie,
consultez la base de pilotage/ PILOT <http://dep.ac-orleans-tours.fr>
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list