Closed ateucher closed 6 years ago
@smnorris I made an attempt here. It works, but this bit checking for 'overlaps'
in the string to set the prefix might be a bit hacky. https://github.com/bcgov/designatedlands/blob/85fb0f68ba385d8dd9afcfc26b402b92601d7788/designatedlands/main.py#L69-L78
Looks like it works fine. To clean it up more we could probably just strip the 'b' and 'c' prefixes from the designation values in those two tables, they aren't needed.
I think
tidy_designations()
isn't working properly on the_overlaps
layer, as the national park name isn't cleaned either. Possibly to do with theb
prefix used in the 'preliminary output layer' butc
prefix in 'preliminary overlaps layer`