[mapserver-users] WMS-T support for vector data using OGR

Starling starling.lucky at gmail.com
Sat Jun 14 08:44:24 PDT 2014


Thanks Evan. I added 'Time' field to each individual shape file rather than
adding Time field to the tile index. The map file with following Layer
section worked for me.

	LAYER
		NAME "states"
		DEBUG 5
		TYPE POLYGON
		TILEINDEX "VectorLayer2.shp"
		TILEITEM "Location"
		STATUS ON

		METADATA
			"wms_title"    "States"   
			"wms_include_items"   "all"
			"wms_dataurl_format" "text/HTML" 
			"ows_include_items"     "all" 
			"wms_exceptions_format" "application/vnd.ogc.se_xml" 
			'wms_srs'             'EPSG:42304' 
			"wms_timeformat" "YYYYMMDD"
			"wms_timeextent" "20070301/20070302"
			"wms_timeitem" "Time" 
			"wms_timedefault" "20070301"
		END
		#FILTERITEM "Time"
		TEMPLATE BLANK
		PROJECTION
			"init=epsg:42304"   
		END
		CLASS
			NAME       "The Upper Great Lakes States"
			STYLE
				COLOR        232 232 232
				OUTLINECOLOR 32 32 32
			END
		END
	END # Layer	

-Hari



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-T-support-for-vector-data-using-OGR-tp5144873p5145891.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list