Has anyone got http://libcwms.gov.bc.ca/wmsconnect... to work

Tyler Mitchell tylermitchell at SHAW.CA
Mon Jun 27 06:57:08 PDT 2005


And I use this one all the time, just remove the 'wms_name' entries that I 
don't need.

LAYER
  GROUP bc_msrm_wms
  NAME bc_msrm_wms_all
  TYPE RASTER
  STATUS OFF
  CONNECTIONTYPE WMS
  CONNECTION 
"http://libcwms.gov.bc.ca/wmsconnector/com.esri.wsit.WMSServlet/ogc_layer_service?"
  METADATA
    "wms_name" 
"TRIMOrthomosaic,TRIMOrthomosaicOverview,BC_WATER_POLYS_5KM,BC_BASEMAP_LINES_5KM_water,BC_BASEMAP_LINES_5KM_transport,BC_BASEMAP_LINES_5KM_boundary,BC_RIV_LAKE_WET_POLYS_500M,BC_WATER_LINES_500M,BC_TRANSPORT_LINES_500M,BC_PROV_BOUNDARIES_LINES_500M,BC_MANMADE_LINES_500M,BC_MAJOR_CITIES_POINTS_500M,BC_WATER_POINTS_500M,BC_TRANSPORT_POINTS_500M,BC_SPOT_ELEVATION_POINTS_500M,BC_MANMADE_POINTS_500M,NTS_BC_COASTLINE_POLYS_125M,NTS_BC_RIV_LAKE_WET_POLYS_125M,NTS_BC_COASTLINE_LINES_125M,NTS_BC_CONTOUR_LINES_125M,NTS_BC_LANDCOVER_LINES_125M,NTS_BC_LANDFORM_LINES_125M,NTS_BC_MANMADE_LINES_125M,NTS_BC_TRANSPORT_LINES_125M,NTS_BC_WATER_LINES_125M,NTS_BC_MANMADE_POINTS_125M,NTS_BC_TRANSPORT_POINTS_125M,NTS_BC_WATER_POINTS_125M,NTS_BC_LANDFORM_POINTS_125M,NTS_BC_ANNO,TRIM_EBM_OCEAN,TRIM_EBM_WATERBODIES,TRIM_EBM_WATERCOURSES,TRIM_EBM_WETLANDS,TWTR_LINES,TTRN_LINES,TSRF_LINES,TMISC_LINES,TCVR_LINES,TCVR_POINTS,TCUL_LINES,TCTR_LINES,TWTR_POINTS,TTRN_POINTS,TSRF_POINTS,TMISC_POINTS,TCUL_POINTS,TCTR_POINTS,WHSE_BASEMAPPING.TRIM_TEXT_ANNO,TWTR_ANNO,TTRN_ANNO,TSRF_ANNO,TMISC_ANNO,TCVR_ANNO,TCUL_ANNO,TCTR_ANNO,FOREST_COVER,BCGS_GRID,NTS_GRID,DBM_7H_MIL_BATHYMETRIC_POLY,DBM_7H_MIL_POLITICAL_POLY_BC,DBM_7H_MIL_POLITICAL_POLY_PS,DBM_7H_MIL_PARK_POLY,DBM_7H_MIL_ROADS_LINE,DBM_7H_MIL_DRAINAGE_POLY,DBM_7H_MIL_DRAINAGE_LINE,DBM_7H_MIL_BOUNDARIES_LINE,DBM_7H_MIL_POPULATION_POINT"
    "wms_srs" "EPSG:4326"
    "wms_server_version" "1.1.1"
    "wms_layers" "TRIMOrthomosaic, TCUL_ANNO,FOREST_COVER"
    "wms_format" "image/jpeg"
    "wms_title" "TRIM Orthomosaic from BC MSRM2"
    "wms_group_title" "BC Data"
  END
END

On June 24, 2005 09:42 am, Janice wrote:
> Stephen, This snippet works for me:
>
> # BC TRIM Orthomosaic
> # low res (150,000 - 10,000,000)
> # high(0 - 150,000)
> LAYER
>    NAME "Ortho (WMS)"
>    TYPE RASTER
>    OFFSITE 0 0 0
>    STATUS OFF
>    GROUP "LEGEND"
>    CONNECTIONTYPE WMS
>
> CONNECTION
> "http://libcwms.gov.bc.ca/wmsconnector/com.esri.wsit.WMSServlet/o
> gc_layer_service?&TRANSPARENT=true"
>    METADATA
>      WMS_SRS             "epsg:26910"
>      WMS_NAME            "TRIMOrthomosaic,TRIMOrthomosaicOverview"
>      WMS_SERVER_VERSION  "1.1.1"
>      WMS_FORMAT          "image/png"
>      WMS_TIMEOUT         "1000"
>      WMS_ORDER           "50"
>    END
>  END
>
> Regards,
> Janice
> Vancouver, BC



More information about the MapServer-users mailing list