Making a WMS layer queryable

Ethan Alpert ealpert at DIGITALGLOBE.COM
Wed Aug 24 18:55:11 EDT 2005


You need WFS for querying feature attributes.
 
-e

	-----Original Message-----
	From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Jennifer Zeisloft
	Sent: Wednesday, August 24, 2005 4:13 PM
	To: MAPSERVER-USERS at LISTS.UMN.EDU
	Subject: [UMN_MAPSERVER-USERS] Making a WMS layer queryable
	
	
	Hello All-
	
	I am attempting to serve a WMS layer that I would like to be
queryable (using the identify feature button/Query widget from
Chameleon).  The layer appears as it should when brought into a map, but
is not queryable, despite what it says in the layer information popup
window.  Other layers brought into the same map through other servers
are queryable.  I have searched the documentation and lists, but haven't
been able to find any answers.  Do I need to add something extra to the
mapfile (layer portion is pasted below)?  Both the context and
capabilities xml files show that the layer is queryable (=1) and I have
increased the tolerance ridiculously just to make sure a click hits on
the point.  Any suggestions would be greatly appreciated!  Thanks in
advance for your help.
	
	Jennifer Zeisloft
	UW Sea Grant
	
	-------------------------------------
	
	LAYER
	  NAME Bluff_Profile
	  STATUS ON
	  TYPE POINT
	  DATA bluffg
	  TEMPLATE "ttt_query.html"
	  TOLERANCE 500
	  TOLERANCEUNITS PIXELS
	  MAXSCALE 300000
	  PROJECTION
	   "init=epsg:4326"
	  END
	  METADATA
	   "wms_srs"             "EPSG:4326"
	   "wms_name"            "Bluff_Profile"
	   "wms_title"           "Bluff Profiles"
	   "wms_abstract"        "TBA"
	   "wms_keywordlist"     "Lake Superior"
	   "wms_server_version"  "1.1.1"
	   "wms_formatlist"      "image/png,image/jpeg,image/wbmp"
	   "wms_format"          "image/png"
	   "wms_onlineresource"
"http://144.92.46.35/cgi-bin/mapserv.exe?map=C:\ms4w\apps\chameleon\lscm
p\map\wlscmp_wms.map& "
	  END
	  CLASS
	    SYMBOL 'circle'
	    COLOR 255 166 0
	    SIZE 6
	  END
	END
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050824/cecf52df/attachment.html


More information about the mapserver-users mailing list