Creating a custom tilematrixset #1298
Unanswered
traviskirstine
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
@traviskirstine do you have an image we can use to replicate your issue? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@traviskirstine there is a small bug in titiler WMTS extension. Your TMS document doesn't have an you can easily fix that doing 👇 # Create the tilematrixset
from morecantile import tms, TileMatrixSet
from pyproj import CRS
EPSG22317 = TileMatrixSet.custom(
id="EPSG22317",
extent=[250254.25, 4613137.66, 749745.98, 9329005.18],
crs=CRS.from_epsg(22317),
matrix_scale=[1, 1]
)
with open("EPSG22317.json", "w") as f:
f.write(EPSG22317.model_dump_json()) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been attempting to add a tilematrixset based on a UTM z17 CSRSv3 (EPSG:22317) crs using a JSON file generated via morcantile and loaded in my docker environment via volume link to the tilematrixset file and setting the TILEMATRIXSET_DIRECTORY environment variable. Titiler appears to load the tilematrixset without issue but when I try to access the image tiles via QGIS and a WMTS service titiler indicates a warning :PointOutsideTMSBounds: Point (-80.02549710696253, 42.52965097040597) is outside TMS bounds and fails to render the image (or make the WTMS request). Any suggestions on how I can set this up correctly would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions