Closed kalxas closed 2 years ago
Right now OSM is used in the development environment
http://geoportal.ypen.gr/tiles is now serving tiles from ktimanet.gr
Today we got the required links from gys.gr
gys.gr layers have been configured in GeoServer as Cascaded WMTS layers:
https://docs.geoserver.org/latest/en/user/data/cascaded/wmts.html
Used as standalone layers, they work fine in QGIS.
Unfortunately SLD styling is not supported for cascaded WMTS layers so a group style like the following cannot work:
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- a Named Layer is the basic building block of an SLD document -->
<NamedLayer>
<Name>CARTO_Z0_Z8</Name>
<UserStyle>
<Title>CARTO_Z0_Z8</Title>
<Abstract>CARTO_Z0_Z8</Abstract>
<FeatureTypeStyle>
<Rule>
<Name>rule1</Name>
<MinScaleDenominator>2311162.217155</MinScaleDenominator>
<MaxScaleDenominator>600000000.00</MaxScaleDenominator>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
<NamedLayer>
<Name>CARTO_Z9_Z10_1200</Name>
<UserStyle>
<Title>CARTO_Z9_Z10_1200</Title>
<Abstract>CARTO_Z9_Z10_1200</Abstract>
<FeatureTypeStyle>
<Rule>
<Name>rule2</Name>
<MinScaleDenominator>577790.554289</MinScaleDenominator>
<MaxScaleDenominator>2311162.217155</MaxScaleDenominator>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
<NamedLayer>
<Name>CARTO_Z11_500</Name>
<UserStyle>
<Title>CARTO_Z11_500</Title>
<Abstract>CARTO_Z11_500</Abstract>
<FeatureTypeStyle>
<Rule>
<Name>rule3</Name>
<MinScaleDenominator>288895.277144</MinScaleDenominator>
<MaxScaleDenominator>577790.554289</MaxScaleDenominator>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
<NamedLayer>
<Name>CARTO_Z12_ERM250</Name>
<UserStyle>
<Title>CARTO_Z12_ERM250</Title>
<Abstract>CARTO_Z12_ERM250</Abstract>
<FeatureTypeStyle>
<Rule>
<Name>rule4</Name>
<MinScaleDenominator>72223.819286</MinScaleDenominator>
<MaxScaleDenominator>288895.277144</MaxScaleDenominator>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Implemented as layer group in GeoServer. Some example requests:
Available as default in http://beta.geoportal.ypen.gr/geonetwork/srv/eng/catalog.search#/map
Link about changing the base layer in the GeoNetwork UI
https://www.geocat.net/setting-up-geonetwork-with-dutch-pdok-tile-services/
The Editor Map was changed also, using the same configuration as the other maps in the catalog.
The result is this:
(visible when editing a metadata record)
Unfortunately, I did not find any information on changing the background map of the spatial extent thumbnail in the metadata view.
Could the info found here be any relevant?
No, we have already applied this change.
As I understand, this is something we cannot change at the moment.
Before we close the issue, I noticed that when the user zooms in until there are no available tiles for the zoom level, the map disappears. Is it possible to limit the zoom to the zoom level of the available tiles?
And, finally, is it possible to configure the basemap to its actual extent when the user clicks on "Zoom to initial map extent"?
Before we close the issue, I noticed that when the user zooms in until there are no available tiles for the zoom level, the map disappears. Is it possible to limit the zoom to the zoom level of the available tiles?
I do not see this option in the GeoNetwork UI
And, finally, is it possible to configure the basemap to its actual extent when the user clicks on "Zoom to initial map extent"?
I am going to look into this.
Adding some default extents:
The resolutions "add" option does not seem to work.
And, finally, is it possible to configure the basemap to its actual extent when the user clicks on "Zoom to initial map extent"?
I am going to look into this.
This does not seem to respect the bbox given in the UI Settings
basemap_gys layer group re-configured
Final basemap configured
We are going to evaluate the following map backgrounds for potential use: