Hello,
I would like to use Geonetwork on network without access to the Internet. I am able to change map from OSM to our own WMTS in map view and it works well (CONFIG-VIEWER.XML). On the other hand, I am unable to change map for search view. Is it hardcoded or there is another config file?
CONFIG-VIEWER.XML
<ows-context:OWSContext xmlns:ows-context="http://www.opengis.net/ows-context"
xmlns:ows="http://www.opengis.net/ows"
version="0.3.1" id="ows-context-ex-1-v3">
<ows-context:General>
<ows:BoundingBox crs="EPSG:3857">
<ows:LowerCorner>-8604130.477526832 -320097.07393612247</ows:LowerCorner>
<ows:UpperCorner>8948257.201654762 8720263.135408245</ows:UpperCorner>
</ows:BoundingBox>
</ows-context:General>
<ows-context:ResourceList>
<ows\-context:Layer queryable="false"
name="\{type=wmts,name=zm\}"
hidden="false" opacity="1" group="Background layers">
<ows:Title xmlns:ows="http://www.opengis.net/ows">ZM</ows:Title>
<ows\-context:Server service="urn:ogc:serviceType:WMS">
<ows\-context:OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://geoportal-zm.cuzk.cz/WMTS_ZM_900913/service.svc/get?"/>
</ows\-context:Server>
<ows\-context:StyleList/>
</ows\-context:Layer>
</ows-context:ResourceList>
</ows-context:OWSContext>
Regards,
Otakar
Hi, in 3.4.x in the admin > Settings > User interface, you've a "Search Map
Configuration" section for it where you can set the context or layers to
use.
HTH
Francois
2018-01-31 13:29 GMT+01:00 <otakarruzicka@anonymised.com>:
Hello,
I would like to use Geonetwork on network without access to the Internet.
I am able to change map from OSM to our own WMTS in map view and it works
well (CONFIG-VIEWER.XML). On the other hand, I am unable to change map for
search view. Is it hardcoded or there is another config file?
CONFIG-VIEWER.XML
<ows-context:OWSContext xmlns:ows-context="http://www.
opengis.net/ows-context"
xmlns:ows="http://www.opengis.net/ows"
version="0.3.1" id="ows-context-ex-1-v3">
<ows-context:General>
<ows:BoundingBox crs="EPSG:3857">
<ows:LowerCorner>-8604130.477526832 -320097.07393612247</ows:
LowerCorner>
<ows:UpperCorner>8948257.201654762 8720263.135408245</ows:
UpperCorner>
</ows:BoundingBox>
</ows-context:General>
<ows-context:ResourceList>
<ows-context:Layer queryable="false"
name="{type=wmts,name=zm}"
hidden="false" opacity="1" group="Background
layers">
<ows:Title xmlns:ows="http://www.opengis.net/ows">ZM</ows:Title>
<ows-context:Server service="urn:ogc:serviceType:WMS">
<ows-context:OnlineResource xmlns:xlink="http://www.w3.
org/1999/xlink"
xlink:href="http://geoportal-
zm.cuzk.cz/WMTS_ZM_900913/service.svc/get?"/>
</ows-context:Server>
<ows-context:StyleList/>
</ows-context:Layer>
</ows-context:ResourceList>
</ows-context:OWSContext>
Regards,
Otakar
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork