Ticket #1722 (closed defect: fixed)
[Context] why is wms_onlineresource mandatory
| Reported by: | bartvde@… | Owned by: | tomkralidis |
|---|---|---|---|
| Priority: | high | Milestone: | 5.4 release |
| Component: | WMS Client | Version: | 4.8 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When a LAYER has no wms_onlineresource, you get the following when saving a Context:
<!-- WARNING: Mandatory metadata 'wms_onlineresource' was missing in this
context. -->
<OnlineResource xlink:type="simple"
xlink:href="http://145.50.148.45:8081/cgi-bin/mapserv"/>
<!-- wms_onlineresource not set, using base URL , but probably not what you want -->
E.g.:
LAYER
CONNECTION
"http://145.50.148.45:8081/cgi-bin/mapserv?map=/data/OGC_UMN_services/basispakket_grenzen.map&"
CONNECTIONTYPE WMS
METADATA
"wms_name" "AAA207"
"wms_title" "wegendistricten"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
"wms_style" ""
END
PROJECTION
"init=epsg:28992"
END
TYPE RASTER
TRANSPARENCY 50
NAME "wegendistricten"
STATUS ON
UNITS METERS
SIZEUNITS PIXELS
DUMP TRUE
TEMPLATE "blank.html"
TOLERANCE 5
TOLERANCEUNITS PIXELS
END #layer
Why does the code not use the CONNECTION instead if wms_onlineresource is not
set ????
Change History
Note: See
TracTickets for help on using
tickets.
