Using MosaicJSON stored locally #590
-
Is it possible to use a MosaicJSON stored locally? Imagine that a user creates the MosiacJSON file locally and want to visualize the mosaic using TiTiler without having to upload the MosiacJSON file to the web. r = httpx.get(
f"{titiler_endpoint}/mosaicjson/tilejson.json",
params={
# "url": "https://gist.githubusercontent.com/vincentsarago/c6ace3ccd29a82a4a5531693bbcd61fc/raw/e0d0174a64a9acd2fb820f2c65b1830aab80f52b/NOAA_Nashville_Tornado.json"
"url": "NOAA_Nashville_Tornado.json"
}
).json()
print(r)
|
Beta Was this translation helpful? Give feedback.
Answered by
vincentsarago
Feb 16, 2023
Replies: 1 comment
-
sadly it's not possible. We also don't offer hosting of mosaicjson because we didn't want to care about authentification (to make sure someone is not filling up our S3 bucket with some files) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sadly it's not possible. We also don't offer hosting of mosaicjson because we didn't want to care about authentification (to make sure someone is not filling up our S3 bucket with some files)