Making a WMS layer queryable

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Thu Aug 25 03:08:42 EDT 2005


This is not true, WMS has GetFeatureInfo which shows attribute info for a feature.

Jennifer, have you tried adding DUMP TRUE?

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Ethan Alpert <ealpert at DIGITALGLOBE.COM> 08/25/05 12:55 am >>>
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&amp; "
	  END
	  CLASS
	    SYMBOL 'circle'
	    COLOR 255 166 0
	    SIZE 6
	  END
	END
	



More information about the mapserver-users mailing list