-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added reference to RTD & documentation on tiling schemes
- Loading branch information
Showing
3 changed files
with
138 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
Tiling and projections | ||
====================== | ||
|
||
This tool was intended to be used to preprocess data like creating hillshades | ||
which is used for web maps afterwards. Therefore the output projections | ||
supported are `Web Mercator`_ (``mercator``) and the geodetic projection based | ||
on WGS84_ (``geodetic``). For the tiles within these projections, a tiling scheme based on the | ||
WMTS_-tiling is used. | ||
|
||
.. _`Web Mercator`: https://epsg.io/3857 | ||
.. _WGS84: https://epsg.io/4326 | ||
.. _WMTS: https://en.wikipedia.org/wiki/Web_Map_Tile_Service | ||
|
||
Tile pyramids | ||
------------- | ||
|
||
Every tiling a web framework uses is based on a pyramid of multiple zoom levels | ||
(tile matrices). Each tile matrix consists of tiles arranged in rows and | ||
colums. | ||
|
||
Every tile within a tile pyramid can be described by three numbers: the zoom | ||
level, row and column. As these numbers are used in the WMTS protocol, Mapchete | ||
can easily map them to the desired tiles to be processed. | ||
|
||
Most web maps use the ``mercator`` scheme (or pyramid), the second most used | ||
scheme is the ``geodetic`` scheme which also covers the polar regions but shows | ||
distortions especially in higher lattitudes which are unfamiliar to most users. | ||
|
||
Properties of supported pyramids | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
============= ============ ================= | ||
property ``geodetic`` ``mercator`` | ||
============= ============ ================= | ||
EPSG code 4326 3857 | ||
left -180 -20037508.3427892 | ||
bottom 90 20037508.3427892 | ||
right 180 20037508.3427892 | ||
top 90 -20037508.3427892 | ||
zoom 0 rows 1 1 | ||
zoom 0 cols 2 1 | ||
============= ============ ================= | ||
|
||
If you want to dig deeper into the topic, there is a more detailed description | ||
on the `ẀMTS Simple`_ profile standard by the OGC. | ||
|
||
.. _`ẀMTS Simple`: http://docs.opengeospatial.org/is/13-082r2/13-082r2.html | ||
|
||
|
||
Internally, Mapchete uses tilematrix_, a python tool handling tiles and tile | ||
pyramids. It is not planned to support other projections or tiling schemes yet, | ||
but if there is demand and resources, tilematrix would be the starting point. | ||
|
||
.. _tilematrix: https://github.com/ungarj/tilematrix | ||
|
||
Metatiles | ||
--------- | ||
|
||
Depending on the process it sometimes makes sense to increase the tile size. | ||
This is called metatiling. |