Open smnorris opened 6 years ago
Currently, a designation coming from several source files needs to be combined explicitly via tidy_designations.
tidy_designations
National Parks is the only designation where this is an issue: https://github.com/bcgov/designatedlands/blob/master/designatedlands/main.py#L68
We could remove this complication and make the code a bit more straightforward by giving all the source layers for the designation the same alias in sources.csv and refactoring read_csv to simplify or remove the a/b/c column prefixes. https://github.com/bcgov/designatedlands/blob/master/designatedlands/util.py#L24
alias
sources.csv
read_csv
Currently, a designation coming from several source files needs to be combined explicitly via
tidy_designations
.National Parks is the only designation where this is an issue: https://github.com/bcgov/designatedlands/blob/master/designatedlands/main.py#L68
We could remove this complication and make the code a bit more straightforward by giving all the source layers for the designation the same
alias
insources.csv
and refactoringread_csv
to simplify or remove the a/b/c column prefixes. https://github.com/bcgov/designatedlands/blob/master/designatedlands/util.py#L24