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

'Protected' is not currently a valid restriction #77

Open smnorris opened 3 years ago

smnorris commented 3 years ago

Validation of current sources_designations.csv fails: ValueError: Invalid forest_restriction value Protected for source park_national

smnorris commented 3 years ago

Just adding "PROTECTED": 5 to this lookup might be enough but there may be assumptions elsewhere in the script:

self.restriction_lookup = {
            "FULL": 4,
            "HIGH": 3,
            "MEDIUM": 2,
            "LOW": 1,
            "NONE": 0,
        }