[Geoserver-users] TopLeftCorner of WMTS GetCapabilities

Hello

I am trying to develop a little viewer with ArcGIS API 4.x and load a basemap from GeoWebCache with WMTS Rest Protocols.

I succeeded in visualizing the basemap with 3857 web mercator and 4326 wgs84 projections.

But I have some difficulties visualizing the basemap with the Lambert 93 (2154) projection.

I then had a closer look at the GetCapabilities of the WMTS.

First I saw that the TopLeftCorner of the TileMatrixSet is not the same over all the levels.

How to obtain something consistent with the same Y for each level ?

Because I didn’t find the capacity to handle this with the arcgis API. (I will ask then to add such ability)

image.png

Another remarks Is about the TopLeftCorner of the tileMatrixSet 4326 and tileMatrixSet:2154

The topLeftCorner for EPSG4326 is always 90 -180 but> it seems to be Y X , It should have been -180 90 (X Y)

image.png

And for the tileMatrixSet:2154

TopLeftCorner -357823 7289353 seems to be X, Y

image.png

Could it be an issue ?

Best regards

Xavier Lhomme