GeoServer:Column 40 超出范围,最小值:41 max:44

GeoServer:Column 40 is out of range, min: 41 max:44

在从 Openlayer 发出请求时,我在 GeoServer2.13 上配置了带有 GeoWebcache 的图层 Url:

https://geoserver.althing.io/geoserver/gwc/service/wmts?layer=Public_Geo%3APumpJack&style=&tilematrixset=EPSG%3A4326&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng&TileMatrix=EPSG%3A4326%3A7&TileCol=40&TileRow=39

我收到以下响应异常:

<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport version="1.1.0" xmlns="http://www.opengis.net/ows/1.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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 40 is out of range, min: 41 max:44</ExceptionText>
  </Exception>
</ExceptionReport>

解决此异常的任何帮助。

您只能通过不请求提供的矩阵之外的图块来解决此问题,在本例中为 41 到 44 之间。

这只是意味着您的客户正在尝试绘制地图左侧的地图,在大多数情况下您可以忽略它。如果它让您担心,那么您应该切换到一个更智能的客户端,该客户端在发出请求之前会考虑可用的磁贴范围。