I am trying to write a program which will render tiles from EPSG2180-based WMTS server. Given coordinates of a point (WSG84 or EPSG2180, I can convert from one to another) I want to render a tile containing it.
TileMatrix has info about
TopLeftCorner and I understand what they mean. However, they don't seem sufficient to translate lat/lon to row/column. Apart from those each TileMatrix has mysterious
ScaleDenominator and what is the relationship between it and other values describing
TileMatrix? How can I use it to translate lat/lon to tile's row/column?