Open vincentsarago opened 4 years ago
Notes: The problem here is that it seems the coordinates of the topLeftCorner is in X,Y order while the CRS
Names | Definition | Data type and values | Multiplicity and use |
---|---|---|---|
TopLeftCorner | Position in CRS coordinates of the top-left corner of this tile matrix | Ordered sequence of double values (*b) | One (mandatory) |
with b:
CRS will be inherited from the supportedCRS parameter of the parent TileMatrixSet. The order of these axes shall be as specified by the supportedCRS. These are the precise coordinates of the top left corner of top left pixel of the 0,0 tile. See Figure 1.
The TMS specs is clear that topLeftCorner coordinates order should be inherited from the CRS so IMO the example TMS for EuropeanETRS89_LAEAQuad is wrong!
The
EuropeanETRS89_LAEAQuad
seems off.EPSG:3035
seems to uselat,lon
order (instead oflon,lat
) and thusinvert_axis
☝️ return True. While this is ok, we then expect the coordinates in the TMS document to be stored as Y,X and not X,Y as it is right now.Using morecantile we can create a correct JSON document
ref: https://github.com/developmentseed/morecantile/pull/27#issuecomment-638620428