User needs third party service

Overview

A user needs a third party dataset that's available as a service (such as a WMS service or an Esri REST service)

Reference, Not Duplication

EGIS will not maintain separate instances of services that are provided as authoritative services by third parties, provided that the third party's service endpoint is available from EGIS.

The third party service should have a complete metadata record that can be imported into EGIS.

Python Scripting

The EGIS team has developed a Python script that will create portal items in EGIS that reference third party services. Each third party service is defined by a set of parameters that are stored in a configuration file that defines the third party services referenced by EGIS. The parameters that define a third party service are:

Parameter

Description

Example

Parameter

Description

Example

title

(Required) The item's title

Aboriginal Lands of Canada Legislative Boundaries

type

(Required) The item's type

WMS or Map Service

languages

(Required) The language(s) of the item

en or fr or en,fr

categories

The EGIS portal categories for the item

/Categories/Transportation | Transport/Marine Tranportation | Transport maritime,/Categories/Inland waters | Eaux continentales

folder

The folder in which the item will be placed

Programs Group

licenseInfo

The license information to be displayed for the item

<a href='http://open.canada.ca/en/open-government-licence-canada' target='_blank'>Open Government Licence - Canada</a>

metadataFile

The path, relative to the Python script, of the Esri format metadata file for the item

./GeoBC/BC Land Claim Settlement Areas _ Zones de règlement des revendications territoriales de la Colombie-Britannique.xml

metadataUrl

The URL to the Esri format metadata for the item

https://geoportal.gc.ca/arcgis/rest/services/FGP/SmallCraftHarbours_En/MapServer/info/metadata

metadataUrlHNAP

For FGP layers, and other layers that support the HNAP metadata format, the URL to the HNAP format metadata for the item; the Python script includes the capability to transform HNAP metadata to Esri format

https://csw.open.canada.ca/geonetwork/srv/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=csw:IsoRecord&ElementSetName=full&id=522b07b9-78e2-4819-b736-ad9208eb1067

snippet

A brief description of the item

The Aboriginal Lands of Canada Legislative Boundaries web service includes legislative boundaries of Indian Reserves, Land Claim Settlement Lands (lands created under Comprehensive Land Claims Process that do not or will not have Indian Reserve status under the Indian Act) and Indian Lands.

tags

The tags that are applied to the item

TC Smart Maps,Programs Group,Aboriginal Consultation,First Nation Admin Boundary,Indian Reserve

thumbnailUrl

The URL to the image to be used as the item's thumbnail

https://proxyinternet.nrcan.gc.ca/arcgis/rest/services/CLSS-SATC/CLSS_Administrative_Boundaries/MapServer/info/thumbnail

url

The service endpoint URL

https://proxyinternet.nrcan.gc.ca/arcgis/services/CLSS-SATC/CLSS_Administrative_Boundaries/MapServer/WMSServer?request=GetCapabilities&service=WMS&layers=Aboriginal_Lands_of_Canada_Legislative_Boundaries&legend_format=image/png&feature_info_type=text/html

Execution

The Python script will be executed either on a schedule, or triggered by an event, or both. The specific mechanism for doing this is not yet determined.