Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs and case figure #580

Merged
merged 3 commits into from
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 58 additions & 6 deletions docs/config_json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,10 @@ Exemples
"title": "(composite catalog) with group imposed",
"composite": [
{
"id": "tq_swtq",
"url": "https://geoegl.msp.gouv.qc.ca/apis/ws/swtq",
"regFilters": ["zpegt"],
"groupImpose": {"id": "zpegt", "title": "zpegt"}
"id": "tq_swtq",
"url": "https://geoegl.msp.gouv.qc.ca/apis/ws/swtq",
"regFilters": ["zpegt"],
"groupImpose": {"id": "zpegt", "title": "zpegt"}
},
{
"id": "Gououvert",
Expand All @@ -425,8 +425,44 @@ Exemples
"groupImpose": {"id": "cartetopo", "title": "Carte topo échelle 1/20 000"}
}
]
}
]
},
{
"id": "forced_properties",
"title": "Forced properties catalog (layer name and abstract)",
"composite": [
{
"id": "forcedProperties_wmts",
"url": "https://servicesmatriciels.mern.gouv.qc.ca/erdas-iws/ogc/wmts/Cartes_Images",
"type": "wmts",
"setCrossOriginAnonymous": true,
"matrixSet": "EPSG_3857",
"version": "1.0.0",
"forcedProperties": [{
"layerName": "BDTQ-20K_Allegee",
"title": "Nouveau nom pour cette couche WMTS"
}]
},
{
"id": "forcedProperties_wms",
"url": "https://geoegl.msp.gouv.qc.ca/apis/ws/swt",
"type": "wms",
"forcedProperties": [{
"layerName": "lieuhabite",
"title": "Nouveau nom pour cette couche WMS"
}]
},
{
"id": "forcedProperties_arcgisrest",
"url": "https://gisp.dfo-mpo.gc.ca/arcgis/rest/services/FGP/Seafloor_SubstratBenthique/MapServer",
"type": "arcgisrest",
"forcedProperties": [{
"layerName": "Sediment substrate / Substrat sédimentaire",
"title": "Nouveau nom pour cette couche ArcGIS REST"
}]
},
]
},
]
}

Propriétés
Expand Down Expand Up @@ -477,6 +513,12 @@ Propriétés - Objet Catalog
- .. line-block::
Nombre de résultats retournés par le serveur lors de requêtes **WMS** de GetFeatureInfo
-
-
* - abstract
- String
- .. line-block::
Résumé des données contenues dans le catalogue
-
- 5
* - **id***
- String
Expand All @@ -495,6 +537,16 @@ Propriétés - Objet Catalog
- title: Titre pour le groupe qui sera utilisé dans l'outil Catalog.
-
-
* - forcedProperties
- .. line-block::
layerName*: String,
title*: String
- .. line-block::
Permet d'imposer un nom à une couche spécifique.
- layerName: Nom de la couche dans le catalogue d'origine (propriété layer name). Permet d'aller chercher la couche en question dans le service.
- title: Nouveau titre pour la couche.
-
-
* - matrixSet
- String
- .. line-block::
Expand Down
2 changes: 2 additions & 0 deletions docs/properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ Propriétés
la source wms à l'option optionsFromCapabilities : true,
l'application ira récupérer le lien dans le service WMS.
La valeur pilotée à préséance sur la valeur récupérée du service.
Pour les sources WMS, WMTS et ArcGISREST, si celui-ci n'est pas
défini, c'est l'abstract du catalogue qui sera utilisé.
Les propriété permises sont:
- url
- extern
Expand Down
38 changes: 38 additions & 0 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,44 @@ export const environment: Environment = {
}
]
},
{
id: 'forced_properties',
title: 'Forced properties catalog (layer name and abstract)',
url: '',
composite: [
{
id: 'forcedProperties_wmts',
url:
'https://servicesmatriciels.mern.gouv.qc.ca/erdas-iws/ogc/wmts/Cartes_Images',
type: 'wmts',
setCrossOriginAnonymous: true,
matrixSet: 'EPSG_3857',
version: '1.0.0',
forcedProperties: [{
layerName: 'BDTQ-20K_Allegee',
title: 'Nouveau nom pour cette couche WMTS'
}]
},
{
id: 'forcedProperties_wms',
url: 'https://geoegl.msp.gouv.qc.ca/apis/ws/swtq',
type: 'wms',
forcedProperties: [{
layerName: 'lieuhabite',
title: 'Nouveau nom pour cette couche WMS'
}]
},
{
id: 'forcedProperties_arcgisrest',
url: 'https://gisp.dfo-mpo.gc.ca/arcgis/rest/services/FGP/Seafloor_SubstratBenthique/MapServer',
type: 'arcgisrest',
forcedProperties: [{
layerName: 'Sediment substrate / Substrat sédimentaire',
title: 'Nouveau nom pour cette couche ArcGIS REST'
}]
}
]
},
{
id: 'group_impose',
title:
Expand Down