[GeoNetwork-users] Search map - configuration

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&quot;
xmlns:ows="http://www.opengis.net/ows&quot;
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>

&lt;ows\-context:Layer queryable=&quot;false&quot;
                   name=&quot;\{type=wmts,name=zm\}&quot;
                   hidden=&quot;false&quot; opacity=&quot;1&quot; group=&quot;Background layers&quot;&gt;
    &lt;ows:Title xmlns:ows=&quot;http://www.opengis.net/ows&quot;&gt;ZM&lt;/ows:Title&gt;
    &lt;ows\-context:Server service=&quot;urn:ogc:serviceType:WMS&quot;&gt;
        &lt;ows\-context:OnlineResource xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;
                                    xlink:href=&quot;http://geoportal-zm.cuzk.cz/WMTS_ZM_900913/service.svc/get?&quot;/&gt;
    &lt;/ows\-context:Server&gt;
    &lt;ows\-context:StyleList/&gt;
&lt;/ows\-context:Layer&gt;

</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&quot;
                        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&quot;&gt;ZM&lt;/ows:Title&gt;
        <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