-
Notifications
You must be signed in to change notification settings - Fork 26
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
Catalog force name #787
Catalog force name #787
Conversation
@PhilippeLafreniere18 . Please add the same feature for metadata_url. |
@PhilippeLafreniere18 Also. Maybe set up an other alternative to match the aliases... In you example, you specify some specific layer.This use case will not work with filtering regex... |
metadata_url for abstract is the next step ! And not sure what to you refering to ? I think you have no choice here but to target one layer at the time with regex to rename one layer at the time with the aliases. What do you have in mind ? |
In fact.. I was thinking to refer to a specific layer name and force some properties.. forcedProperties: [ |
In this case, the forced properties are independent of the regex and you could keep the filtering regex |
Allow to add alias to WMS, WMTS or ArcGIS REST catalog's layer (for composite catalog for example)
regFilters must be used to match the indexes.
For example, if catalog's config is :
{
"id": "2",
"url": "https://geoappext.nrcan.gc.ca/arcgis/services/GSCA/basin_f/MapServer/WMSServer?",
"groupImpose": {"id": "geo", "title": "Géologie"},
"regFilters": ["^3$", "^6$"],
"alias": ["Analyse - 1", "Analyse - 2"]
}
Then it would mean that the layer whose name is 3 going to be rename as "Analyse - 1" and the layer whose name is 6 is going to be rename as "Analyse - 2".
Note that if alias is not mandatory, if none are provided, the service's title is going to be used (like it was before).
Issue infra-geo-ouverte/igo2#515 in igo2 (assemblage)
JIRA : http://jira.msp.gouv.qc.ca:8080/browse/MIGO2-232