Deadwood-ai / deadwood-api

Main FastAPI application for the deadwood backend
GNU General Public License v3.0
0 stars 0 forks source link

cog_url cannot be found. #38

Closed JesJehle closed 1 week ago

JesJehle commented 2 weeks ago

Currently, the cog via cog_url cannot be found. This is an example path of the v1_cogs:

https://data.deadtrees.earth/cogs/v1/data/cogs/aaeff7dc-2475-48f9-aae9-90c2fb1364ea_quebec_2021-05-28-sbl-cloutier-z1-rgb//data/cogs/aaeff7dc-2475-48f9-aae9-90c2fb1364ea_quebec_2021-05-28-sbl-cloutier-z1-rgb_cog_jpeg_ovr8_q75.tif

The path seems pretty weird

Also, https://data.deadtrees.earth/cogs/v1/ shows only an empty directory:

image

Anything I missed?

JesJehle commented 2 weeks ago

Seems to be related to #36

mmaelicke commented 2 weeks ago

The path seems indeed weird. There is something configured differently on the local API deployment, compared to the live version. This should be resolvable after migration. I can't have a look here, only after my vacation.

The folder is empty because the files are not migrated to the server. We can start that after my vacation.

mmaelicke commented 2 weeks ago

no the direct-cog url is still using the hex representation: https://github.com/Deadwood-ai/deadwood-api/blob/8aec512dd535e33883541ddc45f501d1e16be13e/src/routers/thumbnail.py#L70