Making a WMS layer queryable
Jennifer Zeisloft
jzeisloft at GMAIL.COM
Thu Aug 25 08:39:58 PDT 2005
Hi Bart-
I added DUMP TRUE to the map file. I do get some sort of result for that
layer:
*Bluff Profiles*
Feature:
Bluff_Profile_feature
but it isn't the result I'm looking for - it doesn't seem to be accessing
the attribute table at all. Do I need to add something else, perhaps to the
Layer Metadata? I guess I'm wondering how MapServer knows that
GetFeatureInfo is being requested.
Perhaps this is also a Chameleon issue? (I am also looking into WFS to see
if that might be a practical route.)
I really appreciate the help. Thanks!
Jennifer Zeisloft
UW Sea Grant
On 8/25/05, Bart van den Eijnden <BEN at syncera-itsolutions.nl> wrote:
>
> 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 <http://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& "
> 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/20050825/3528c777/attachment.htm>
More information about the MapServer-users
mailing list