Repository navigation
feat: add LOCAL TMS concept - #29
Closed
vincentsarago wants to merge 3 commits into
Closed
vincentsarago wants to merge 3 commits into
vincentsarago wants to merge 3 commits into
Conversation
Member
|
There still needs to be communication with the client what the local TMS is, because the client needs to know how to fetch the right tiles. But perhaps the frontend could fetch that from and endpoint that describes the local TMS of a file? |
Member
Author
exactly, that's what the 👇 Details``` curl http://127.0.0.1:8000/geotiff/tiles/LocalTileMatrixSet?url=tests%2Ffixtures%2Fcog.tif&f=json { "title": "tileset tiled using LocalTileMatrixSet TileMatrixSet", "dataType": "map", "crs": "http://www.opengis.net/def/crs/EPSG/0/32621", "links": [ { "href": "http://127.0.0.1:8000/geotiff/tiles/LocalTileMatrixSet?url=tests%2Ffixtures%2Fcog.tif", "rel": "self", "type": "application/json", "title": "Tileset tiled using LocalTileMatrixSet TileMatrixSet" }, { "href": "http://127.0.0.1:8000/geotiff/tiles/LocalTileMatrixSet/%7Bz%7D/%7Bx%7D/%7By%7D?url=tests%2Ffixtures%2Fcog.tif", "rel": "tile", "templated": true, "title": "Templated link for retrieving Raster tiles" }, { "href": "http://127.0.0.1:8000/geotiff/LocalTileMatrixSet?url=tests/fixtures/cog.tif", "rel": "http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme", "type": "application/json", "title": "Definition of 'LocalTileMatrixSet' tileMatrixSet" }, { "href": "http://127.0.0.1:8000/geotiff/LocalTileMatrixSet/map.html?url=tests%2Ffixtures%2Fcog.tif", "rel": "data", "type": "text/html", "title": "Map viewer for 'LocalTileMatrixSet' tileMatrixSet" } ], "tileMatrixSetLimits": [ { "tileMatrix": "0", "minTileRow": 0, "maxTileRow": 1, "minTileCol": 0, "maxTileCol": 1 }, { "tileMatrix": "1", "minTileRow": 0, "maxTileRow": 2, "minTileCol": 0, "maxTileCol": 2 }, { "tileMatrix": "2", "minTileRow": 0, "maxTileRow": 5, "minTileCol": 0, "maxTileCol": 5 }, { "tileMatrix": "3", "minTileRow": 0, "maxTileRow": 10, "minTileCol": 0, "maxTileCol": 10 }, { "tileMatrix": "4", "minTileRow": 0, "maxTileRow": 10, "minTileCol": 0, "maxTileCol": 10 } ], "boundingBox": { "lowerLeft": [ -61.28762442711404, 72.22979795551834 ], "upperRight": [ -52.301598718454485, 74.66298001264106 ], "crs": "http://www.opengis.net/def/crs/EPSG/0/4326" }, "accessConstraints": "unclassified" } ```within the Details |
Member
Author
|
superseded by #30 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR drafts the concept of Local TMS, reading COG/GeoZARR using their native/internal block instead of the
external(e.g WebMercatorQuad).The goal is to offer a x/y/z interface to a dataset for Clients