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 2 months ago

cmosig commented 2 months 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 2 months ago

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

cmosig commented 2 months ago

But the table in supabase does not contain an author?

image

Author is different than user-id.

mmaelicke commented 2 months 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 2 months ago

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

image