We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4737ea commit 76b99f5Copy full SHA for 76b99f5
packages/geotiff/src/tile-matrix-set.ts
@@ -74,6 +74,12 @@ function buildTileMatrix(
74
* Produces one TileMatrix per overview (coarsest first) plus a final entry
75
* for the full-resolution level. The GeoTIFF must be tiled.
76
*
77
+ * This requires a crs definition that includes a `units` property, so that we
78
+ * can convert pixel sizes to physical screen units. Use [`wkt-parser`] to parse
79
+ * a WKT string or PROJJSON object, then pass the result as the `crs` argument.
80
+ *
81
+ * [`wkt-parser`]: https://github.com/proj4js/wkt-parser
82
83
* @see https://docs.ogc.org/is/17-083r4/17-083r4.html
84
*/
85
export function generateTileMatrixSet(
0 commit comments