Feature #1567
Updated by Bernhard Koschiček-Krombholz 9 months 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 -> #2244 * OpenAtlas Class name to know which level the place is -> #2244 * Parent import ID -> #2244 (* These will be added to all import options) * Better warnings (showing where warning appears)✅ * Remove @no cover@ by manipulating CSV in tests ✅ * What if duplicate reference systems are given ✅ * Handle error if multiple type ids from the same single type ✅ * Translations * Manual entry ✅