Replies: 1 comment
-
you're almost there. def DatasetPathParams(mosaic: str = Query(..., description="mosaic name")), date: str = Query(..., description="Date")) -> str:
"""Create Mosaic URL given a name an a date."""
return f"dynamodb://us-west-2/{mosaic}:{date}
mosaic = MosaicTiler(path_dependency=DatasetPathParams) By default the Note:
|
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'm trying to serve tiles from NAIP data in MosaicJSONs in DynamoDB (via https://github.com/kylebarron/naip-cogeo-mosaic) but can't seem to make heads or tails about how to configure TiTiler to work with this backend.
This is what I managed to cobble together, which seems to load and run OK with
uvicorn app.main:app --reload
but I have no idea what URLs, etc. to hit to make it work:Any help is appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions