Project

General

Profile

Feature #1567

Updated by Bernhard Koschiček-Krombholz about 1 month ago

Idea: 
 create a generic import functionality that imports all kind of data with their relation from discipline specific CSV templates into openatlas 

 Prerequisite: 
 discuss structure of generic import functionality 

 Stefan's approach: 
 1. Fill in thanados specific template like this one 
 https://docs.google.com/spreadsheets/d/1IIPGKvSRNi6Qeir6070VS4u7uvHdlpYenEhRkCaGJcI/edit?usp=sharing 
 2. Get the data as CSV to OpenAtlas 
 3. Map the CSV to the generic import format (Name, Alias, Geometry, Types, Dates, Reference Systems etc.) 
 4. Witchcraft and Magic -> all is imported to OpenAtlas 

 To-do: 
 * Alias* ✅ 
 * Geometry as WKT* ✅ 
 * Existing External Reference System with ID including identifier* ✅ 
 * Value types* ✅ 
 * Administrative Unit* ✅ 
 * Historical Place* ✅ 
 * Existing References with ID including page number 
 * OpenAtlas Class name to know which level the place is 
 * Parent import ID 
 (* These will be added to all import options)  

 * Better warnings (since table can get crowded, make a list of specific warnings)  
 * Remove @no cover@ by manipulating csv in tests ✅ 
 * What if duplicate reference systems are given ✅ 

 Refactor: 
 * Naming of CSV header

Back