bcgov / designatedlands

Python script to combine conservation related spatial data from many sources to create a single 'Designated Lands' layer for British Columbia
Apache License 2.0
9 stars 4 forks source link

Support multi-source designations #56

Open smnorris opened 6 years ago

smnorris commented 6 years ago

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 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