openforis / sepal

Geographical Data Processing in the Cloud
https://sepal.io/
MIT License
205 stars 46 forks source link

Would it be possible to only sample in the image in classification ? #211

Closed 12rambau closed 1 year ago

12rambau commented 2 years ago

Is your feature request related to a problem? Please describe. When creating a classification, you have the option to sample training data from an existing classification. you select the asset, the number of samples per class, and the scale. Then these samples are selected within the total footprint of the "already classified image". but sometimes this initial image is way bigger than the area covered by the "to be classified images". Would it be possible to only sample within the total footprint of the images I want to classify?

Here is an example where I sample in the CCI map that covers the whole of Zambia when I only need the eastern province. creating the Zambian asset is nice as it can be used in any district but the number of useless sample points is huge.

Capture d’écran 2022-08-03 à 09 27 22
cdanielw commented 1 year ago

Resolved in https://github.com/openforis/sepal/commit/55b72c1c9ed9ab319105fce6fcd6da00f2d13c22.