Deadwood-ai / deadwood-api

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

labels need an author #61

Open cmosig opened 1 month ago

cmosig commented 1 month ago

We have cases where imagery is provided by one institution and labels by another. There will more such cases in the future, especially when we start to generate labels for user-submitted orthophotos.

We should probably address this before we make deadtrees.earth the primary copy of the database.

The change should not be complicated, it is only an additional column in the labels table and we need to have it appear on the website.

mmaelicke commented 1 month ago

Just as a comment: The api and dB already allow for different authors here. Should therefore be a frontend Isabel

cmosig commented 1 month ago

But the table in supabase does not contain an author?

image

Author is different than user-id.

mmaelicke commented 1 month ago

Ah got you. So you upload a Label, which is not owned by you and the owner might even not be registered.

cmosig commented 1 month ago

Yes same with the datasets, where you have a user-id, but then also a authors string.

image