Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: add feature to exclude tree crowns from agricultural parcels #98

Open
theroggy opened this issue May 23, 2024 · 0 comments · May be fixed by #156
Open

ENH: add feature to exclude tree crowns from agricultural parcels #98

theroggy opened this issue May 23, 2024 · 0 comments · May be fixed by #156

Comments

@theroggy
Copy link
Owner

theroggy commented May 23, 2024

Some agricultural parcels, especially narrow grassland parcels, can have a relatively large percentage of their area attributed to trees crowns that hang over the parcel.

It would be useful to test if it is beneficial to exclude these overhanging tree crowns from the parcels to improve classification accuracy.

The feature could be something like this:

  • add the option to specify a path to a "erase layer" file to the config (to be specified in the run_task config file)
  • in a prepare function, before the negative buffer is applied:
    • if a "erase layer" file exists, the agricultural parcels input file needs a column "ignore_erase_layer"
    • create tree_crowns_erase_forest_prc file by erasing all agricultural parcels with "ignore_erase_layer" True from the erase_layer" file
    • erase the tree_crowns_erase_forest_prc from the input agricultural parcels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant