Hello, I'm not exactly sure where to address my issue, perhaps someone can
advise me.

Recently, I've had the need to publish WMTS (Web Map Tile Service) data in
the EPSG:4026 (Moldref99) projection again. We are using GeoServer 2.21.3
for publishing and MapStore2 as the frontend. I haven't had this need since
the time of GeoServer 2.13.x.

When attempting to publish the WMTS service (with the source data
projection EPSG:4026) on a map with the EPSG:4026 projection, I'm
encountering errors like the following:

<ExceptionReport xmlns="http://www.opengis.net/ows/1.1";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.1.0"
xsi:schemaLocation="http://www.opengis.net/ows/1.1
http://geowebcache.org/schema/ows/1.1.0/owsExceptionReport.xsd";>
<Exception exceptionCode="TileOutOfRange" locator="TILECOLUMN">
<ExceptionText>Column -2 is out of range, min: 0 max:1</ExceptionText>
</Exception>
</ExceptionReport>

I reported this issue to the MapStore2 support, but I'm afraid they didn't
quite understand me correctly: GitHub Issue Link
<https://github.com/geosolutions-it/MapStore2/issues/9247>

Furthermore, it turns out that the problem arises at the GeoServer level. I
compared the contents of the GetCapabilities responses for GeoServer 2.21.3
and 2.13.0. After that, I conducted some testing with various GeoServer
releases from 2.13 to the latest version and found that the problem was
already present in GeoServer 2.14 and persists in all later versions.

Below are examples from the GetCapabilities responses and links to the
servers for verification.

For GeoServer 2.13.0: Link
<http://geodata.gov.md:8082/geoserver/gwc/service/wmts?REQUEST=GetCapabilities>

<TileMatrixSetLink>
<TileMatrixSet>EPSG:4026</TileMatrixSet>
<TileMatrixSetLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4026:0</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>1</MaxTileRow>
<MinTileCol>0</MinTileCol>
<MaxTileCol>1</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4026:1</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>3</MaxTileRow>
<MinTileCol>0</MinTileCol>
<MaxTileCol>3</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4026:2</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>7</MaxTileRow>
<MinTileCol>1</MinTileCol>
<MaxTileCol>6</MaxTileCol>
</TileMatrixLimits>
...


<TileMatrixSet>
<ows:Identifier>EPSG:4026</ows:Identifier>
<ows:SupportedCRS>urn:ogc:def:crs:EPSG::4026</ows:SupportedCRS>
<TileMatrix>
<ows:Identifier>EPSG:4026:0</ows:Identifier>
<ScaleDenominator>2857142.8571428573</ScaleDenominator>
<TopLeftCorner>0.0 409600.0</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>2</MatrixWidth>
<MatrixHeight>2</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>EPSG:4026:1</ows:Identifier>
<ScaleDenominator>1428571.4285714286</ScaleDenominator>
<TopLeftCorner>0.0 409600.0</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>4</MatrixWidth>
<MatrixHeight>4</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>EPSG:4026:2</ows:Identifier>
<ScaleDenominator>714285.7142857143</ScaleDenominator>
<TopLeftCorner>0.0 409600.0</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>8</MatrixWidth>
<MatrixHeight>8</MatrixHeight>
</TileMatrix>
...

For GeoServer 2.21.3: Link
<https://geodata.gov.md/geoserver/gwc/service/wmts?REQUEST=GetCapabilities>

<TileMatrixSetLink>
<TileMatrixSet>EPSG:4026</TileMatrixSet>
<TileMatrixSetLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4026.0</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>0</MinTileCol>
<MaxTileCol>0</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4026.1</TileMatrix>
<MinTileRow>0</MinTileRow>
<MaxTileRow>0</MaxTileRow>
<MinTileCol>0</MinTileCol>
<MaxTileCol>0</MaxTileCol>
</TileMatrixLimits>
<TileMatrixLimits>
<TileMatrix>EPSG:4026.2</TileMatrix>
<MinTileRow>1</MinTileRow>
<MaxTileRow>1</MaxTileRow>
<MinTileCol>1</MinTileCol>
<MaxTileCol>1</MaxTileCol>
</TileMatrixLimits>
...


TileMatrixSet>
<ows:Identifier>EPSG:4026</ows:Identifier>
<ows:SupportedCRS>urn:ogc:def:crs:EPSG::4026</ows:SupportedCRS>
<TileMatrix>
<ows:Identifier>EPSG:4026.0</ows:Identifier>
<ScaleDenominator>4720118.004942456</ScaleDenominator>
<TopLeftCorner>371880.0 61521.985016344195</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>1</MatrixWidth>
<MatrixHeight>1</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>EPSG:4026.1</ows:Identifier>
<ScaleDenominator>2360059.002471228</ScaleDenominator>
<TopLeftCorner>371880.0 61521.985016344195</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>2</MatrixWidth>
<MatrixHeight>2</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>EPSG:4026.2</ows:Identifier>
<ScaleDenominator>1180029.501235614</ScaleDenominator>
<TopLeftCorner>371880.0 61521.985016344195</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>4</MatrixWidth>
<MatrixHeight>4</MatrixHeight>
</TileMatrix>
...

I hope this information helps in understanding the issue.
-----------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to