WMS Legends
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Thu Oct 13 08:27:27 PDT 2005
The WMS has to support the GetLegendGraphic operation. You can find
this out by checking out a GetCapabilities XML response.
If GetLegendGraphic is supported, you can invoke a request via:
http://host/wms?version=1.1.1&service=WMS&request=GetLegendGraphic&forma
t=$imageFormat&layer=$layerName
..where $format is your desired format MIME type, and $layer is the
layername you are interested in.
Note that this operation returns graphic icons for a single layer.
..Tom
> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Chip Taylor
> Sent: Thursday, 13 October, 2005 11:20
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] WMS Legends
>
>
> When retrieving a Layer from a WMS (such as a USGS server) is
> there a way to retrieve legend information?
>
> Chip Taylor
> Prepared Response, Inc.
>
More information about the MapServer-users
mailing list