Closed landryb closed 9 years ago
EX_GeographicBoundingBox
tag for the layer. It contains a LatLonBoundingBox
instead, but this tag seems not to be managed by ol3 parser.The code is based on: https://github.com/geonetwork/core-geonetwork/blob/develop/web-ui/src/main/resources/catalog/components/common/ows/OWSService.js#L150
So we should add a test and process the BoundingBox
tag instead if empty.
The service responds both to WMS and WMTS queries on the same URL, it's just that the gfx component doesnt add ?service=WMTS to the url when requesting the getcapabilities.
Using http://tiles.craig.fr/ortho/service?service=WMTS as url allows me to load a WMTS layer from this service. Maybe the service should be automatically added like request=GetCapabilities ?
Using http://tiles.craig.fr/ortho/service?service=WMTS as url allows me to load a WMTS layer from this service. Maybe the service should be automatically added like request=GetCapabilities ?
Yes, i can do that, i did it for WMS. https://github.com/geonetwork/core-geonetwork/blob/develop/web-ui/src/main/resources/catalog/components/common/ows/OWSService.js#L91
Using http://tiles.craig.fr/ortho/service?service=WMTS as url allows me to load a WMTS layer from this service. Maybe the service should be automatically added like request=GetCapabilities ?
Done in https://github.com/geonetwork/core-geonetwork/commit/a515e5addf7af2f11a33f6c2ad97e46f87a1f4d3
Loading http://tiles.craig.fr/ortho/service? in the map viewer as a WMS service it correctly shows the layer tree, but when i try to load a layer from the list, the tree is collapsed and firebug spits an error about a missing extent
Trying to load the same service as a WMTS fails to parse the getcapabilities:
I know the map viewer is not meant to be a fullblown websig, just filing issues so i dont lose track of this...