[DONE] Getting list of COGs for a given quadkey #350
Replies: 3 comments 6 replies
-
After thinking about this a little more I think it's probably better to use a bounding box or lat long, something like:
With Titiler returniing lists of COGs which encompass the bbox or lat long. |
Beta Was this translation helpful? Give feedback.
-
work done in #351 by @mackdelany 🙏 |
Beta Was this translation helpful? Give feedback.
-
@mackdelany I merged your PR but now I'm wondering if using |
Beta Was this translation helpful? Give feedback.
-
Howdy,
As far as I'm aware, there is no way to ask Titiler to query a MosaicJSON file and return a list of COGs that overlap a given quadkey. This would be helpful for our use case at CarbonCrop.
If this is correct (I may have missed something) and the community is happy, I will submit a PR to expose this functionality.
My initial inclination would probably be something like:
mosaicjson/cogs
endpointquadkey
query paramSo a request like:
http://<titiler-host>/mosaicjson/cogs/?url=<path-to-mosaic-file>/mosaic.json&quadkey=311330301132
Might return something like:
Definitely keen to hear if there are other preferences / or reasons why this isn't a thing / this does exist and I've missed it.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions