OneGeology / TechnicalDiscussion

A location for TIG, TAG, and any future OneGeology technical group to discuss technical issues surrounding portal, catalogue, service implementations, etc
3 stars 1 forks source link

Loading WMC by reference no longer works #64

Closed nmtoken closed 1 year ago

nmtoken commented 3 years ago

The documented way of loading a Web Map Context by reference no longer works.

Reference: https://onegeology.github.io/documentation/portal.html#creating-and-using-web-map-context-wmc-documents

The following link should work:

http://portal.onegeology.org/OnegeologyGlobal/?language=eng&method=addExternalContext&url=http://ogc.bgs.ac.uk/wmc/IrelandGeologyEdited-wmc.xml

The WMC file exists

nicolas-m-brgm commented 3 years ago

I confirm it no longer works since a long time I think.

To match the latest developments, do you mind if we change the settings a bit to something like :

http://portal.onegeology.org/OnegeologyGlobal/serviceType=WMC&serviceUrl=http://ogc.bgs.ac.uk/wmc/IrelandGeologyEdited-wmc.xml

?

nmtoken commented 3 years ago

Changing the URL would be fine, just need to update the documentation

nicolas-m-brgm commented 3 years ago

ok great, we will work on it

nicolas-m-brgm commented 2 years ago

Behavior is back and available in staging https://onegeology.brgm-rec.fr/mapClient/?serviceType=WMC&serviceUrl=http://ogc.bgs.ac.uk/wmc/IrelandGeologyEdited-wmc.xml

nmtoken commented 1 year ago

Confirming https://onegeology.brgm-rec.fr/mapClient/?serviceType=WMC&serviceUrl=http://ogc.bgs.ac.uk/wmc/IrelandGeologyEdited-wmc.xml now works on live portal