Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同一媒體檔案中缺漏資料的補充 #243

Open
ghost opened this issue Aug 16, 2019 · 1 comment
Open

同一媒體檔案中缺漏資料的補充 #243

ghost opened this issue Aug 16, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 16, 2019

一個媒體檔案中會包含多筆物種個體紀錄,可能是同一物種的多個個體(隻數),某些特徵不同,也有可能是不同物種的不同個體。這裡說明此些紀錄從系統下載、編輯後再上傳後,系統的處理方式。

假設:

  1. 使用者從某相機位置下載 csv 資料檔,下載的資料帶有 annotationId
  2. 使用者找到應屬於同一媒體的資料後,修改、新增一或數筆,新增者沒有 annotationId
  3. 上述多筆指向同一時間同一媒體檔案
  4. 使用者上傳編輯後的 csv 檔

系統原本的行為:找到同一個 annotationId 的資料後,以上傳的版本覆蓋系統中的版本。

系統應調整為:

  1. 將上傳的 csv 中,同一時間及檔名的資料 group 起來
  2. 此 group 中,有 id 者覆寫系統中的既有資料
  3. 無 id 者新增一筆,新增時,因為是同一時間、同一相機位置、同一檔名,故可帶入含原 id 的資料中的"file" : ObjectId("5ce800aa4d063e24047946c5"),加在新增的資料中(便不用再對應一次並對應至同一個檔案)。

檔案上傳流程應增加計算 checksum ,用以確認是否為同一個檔案,以便後續清理?

@lyh-yihsuan
Copy link

其他需要注意或可討論的是:

  1. 使用者要知道正確使用方式。
  2. 如果使用者行為跳脫了那個操作假設,直接複製並新增一行(包含AnotationID),修改新增列的內容後上傳,系統會做什麼事情?默認為對應到同一影像檔案後請使用者確認?

@moogoo78 moogoo78 assigned moogoo78 and unassigned moogoo78 Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants