Create db schema and injest data #3
Labels
No labels
Bug
Client: Biosphere Capital
Client: Central Hawkes Bay District Council
Client: Forward Works Viewer
Client: Kea/Kākā Databases
Client: Otorohanga District Council
Stage: Blocked
Stage: Doing
Stage: Peer review / Staging
Stage: Ready
Stage: UAT AT
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lightweight/right-tree#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
assigned to @danalambert
SoilOrder discrepancies and assumptions:
Mappings between the codes used in the soil layers and the names in the spreadsheet have been manually created based on the document provided by LRIS data dictionary here under
Appendix 3. New Zealand Soil Classification Subgroups
.I'm treating orders separated by underscores the same as those separated by
,
as independent orders.Unknown fields:
Also looks like there are some other categories that the soil layers use under order which are not really soil types at all but are required for classification. These are presented as lowercase orders such as
i
forice
,t
fortown
. Here is an extract from the LRIS data dict that reflects these:I'm going to add these extra types to the database.
EcologicalRegion discrepancies and assumptions:
D’Archiac
andD'Archiac
both exist with different apostrophe types.,
separators are inconsistent in spacing, this will be strippedFrom spreadsheet -> ecological district layer data, the following adjustments/mappings are being applied:
There appear to be four extra regions in the spredsheet data which are not included in the layer provided. Not sure if some are typos or not? These entries will be ignored for now. They include the following:
Spreadsheet notes:
E260
contains a date fieldmaxheight
fields are invalid a string has been provided rather than a float.60 invalid rows have been skipped. Here are the logs:
marked the checklist item Create db schema design as completed
marked the checklist item Create django models to reflect schema as completed
I'm leaving habitat and zone data ingestion for a later date once we have a better idea of what is required for this.
marked the checklist item Import and injest plant data from excel spreadsheet as completed
marked the checklist item Import and injest soil data from shapefile as completed
changed the description
marked the checklist item Import and injest eco region data as completed
marked the checklist item Create a command that populates the database with the given data as completed
marked the checklist item Document process as completed
mentioned in merge request !3