[Date Prev][Date Next] [Chronological] [Thread] [Top]

[Mapserver-users] how to get the color of a WMS layer?



Hi all,

How would I get the color of a WMS layer that is retrieved from a WMS layer.

For example using this wms server from the BC Government:

### WMS BC GOV -- Trim II -- Miscellaneous Features - Lines (1:20K)
LAYER
  NAME wms_misc_lines_20k
  TYPE RASTER
  STATUS ON
  CONNECTIONTYPE WMS
  CONNECTION
"http://slkapps2.env.gov.bc.ca:80/servlet/com.esri.wms.Esrimap?WMTVER=1.0.0&;
ServiceName=wms26910&LAYERS=Miscellaneous%20Features%20-%20Lines%20(1:20K)&F
ORMAT=PNG&TRANSPARENT=TRUE"
  METADATA
    WMS_SRS "EPSG:26910"
    WMS_TITLE "Miscellaneous Features - Lines (1:20K)"
  END
END

thanks,
Stephen