[mapserver-users] Problem with legend url

boesiii boesiii at yahoo.com
Mon Oct 31 10:05:13 PDT 2011


I am trying to get the legend image from the url below:

http://127.0.0.1/cgi-bin/mapserv.exe?map=%2Fms4w%2Fapps%2Fftmagisapp_v2%2Fmaps%2F%2Fshapefiles%2Fftma_water_features.map&layers=ftma_water_features&mode=legend&mapext=1280723.5701179+416135+1289860.4298821+420983&imgext=1280723.5701179+416135+1289860.4298821+420983&map_size=2157+1144&imgx=1078.5&imgy=572&imgxy=2157+1144

Why don't I get an image when I issue the above url?  I checked all the
symbols to make sure it is finding them in my symbol file.

Below is the map file it is referencing:

[code]
MAP
	NAME 'ftma_water_features'
	SIZE 800 650
	STATUS ON
	EXTENT 1572300 4532647 1629466 4588139
	UNITS FEET

	TRANSPARENT TRUE

	INCLUDE "../geomoose_globals.map"

	QUERYMAP
		STATUS ON
		STYLE SELECTED
	END

	WEB
		INCLUDE "../temp_directory.map"
	END

	
	
	LEGEND
		STATUS ON
		LABEL
			TYPE TRUETYPE
			FONT vera_sans
			SIZE 8
			COLOR 0 0 0
		END		
	END	


	LAYER # ftma_water_features
		NAME 'ftma_water_features'
		DATA './ftma_water_features.shp'
		STATUS DEFAULT
		TYPE POINT
		TOLERANCE 1
		CLASSITEM	'STRCT_TYPE'
		
		CLASS
			EXPRESSION "Air Relief Valve"
			STYLE
				SYMBOL   "right_hole"
				SIZE	15
        		        COLOR    0 0 0
        		        OUTLINECOLOR 0 0 0
				OFFSET -13 0
				
      		END
			
			STYLE
				SYMBOL   "left_hole"
				SIZE	15
        		COLOR    0 218 255
        		OUTLINECOLOR 0 0 0
				
      		END		
			
		END
		
		CLASS
			EXPRESSION "Blowoff"
			STYLE
				SYMBOL   "circle"
				SIZE	12
        		COLOR    0 218 255
        		OUTLINECOLOR 0 0 0
      		END
			
			STYLE
				SYMBOL   "circle"
				SIZE	6
        		COLOR    0 218 255
        		OUTLINECOLOR 0 0 0
      		END
		END
		
		CLASS
			EXPRESSION "Check Valve"
			STYLE
				SYMBOL   "circle"
				SIZE	10
        		COLOR    0 183 0
        		OUTLINECOLOR 0 0 0
      		END
			
			STYLE
				SYMBOL   "vert_line"
				SIZE	10
        		COLOR    0 0 0
        	END
		END
		
		CLASS
			EXPRESSION "Reducer"
			STYLE
				SYMBOL   "circle"
				SIZE	10
        		COLOR    0 218 255
        		OUTLINECOLOR 0 0 0
      		END
			
			STYLE
				SYMBOL   "triangle"
				SIZE	7
        		COLOR    0 218 255
        		OUTLINECOLOR 0 0 0
      		END
		END
		
		CLASS
			EXPRESSION "PRV"
			STYLE
				SYMBOL   "square"
				SIZE	10
        		COLOR    0 218 255
        		OUTLINECOLOR 0 0 0
      		END
		END
		
		CLASS
			EXPRESSION "Vault"
			STYLE
				SYMBOL   "square"
				SIZE	10
        		COLOR    0 218 255
        		OUTLINECOLOR 0 0 0
      		END
		END
		
		CLASS
			EXPRESSION "FSV"
			STYLE
				SYMBOL   "circle"
				SIZE	10
        		COLOR    255 128 165
        		OUTLINECOLOR 0 0 0
      		END
		END
		
		CLASS
			EXPRESSION "Service Valve"
			STYLE
				SYMBOL   "circle"
				SIZE	10
        		COLOR    255 255 255
        		OUTLINECOLOR 0 0 0
      		END
		END
		
		
		METADATA
			'identify_record'	'ftma_water_features_identify.html'
			'popups' 'ftma_water_features_popup.html'
			'qstring_validation_pattern' '.'
		END
		
		
	END # Layer

END ## end Map
[/code]

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-with-legend-url-tp6948935p6948935.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list