semiautomaticgit / SemiAutomaticClassificationPlugin

https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html
Other
137 stars 50 forks source link

Edit raster problems #45

Closed gis2015 closed 3 years ago

gis2015 commented 5 years ago

Hi. Problem 1 The result does not appear on the screen and it is not applied to the image ( .TIF file) when the new class (value) is applied using the SCP Menu Bar Controls. Problem 2 The result does not appear on the screen but it is applied to the image ( .TIF file) when the new class (value) is applied using the Edit Values dialog box (Edit Values Using ROI Polygons combined with Use Constant Values or with Use Expression; Values Using the Vector combined with Use Constant Values or with Use Expression). To see the result it has been necessary to remove the layer and add it again. QGIS: 3.2.3; SCP: latest update; Windows 10.

semiautomaticgit commented 5 years ago

Hi, thank you for reporting this. About the first problem, can you try editing a classification raster produced with SCP? About the second problem, it is a known issue of refresh. Usually the new values are shown after zooming out and zooming in. I'll try to find a workaround for that.

gis2015 commented 5 years ago

Hi. Thanks for listening. Problem 1 does not exist, excuse me. Possibly I created the band set but I did not select the same input raster (Select the input raster) in the Edit Raster dialog box. The user needs to be very attentive to this point (which is clear in the video Direct Editing of the Raster Using the Semi-Automatic Classification Plugin) because he has to create the band set and also choose the raster input. However, I noticed that although the band set defines a raster (classification_8, for example), if I select another input raster in the Edit Raster dialog box (for example, classification_5), the edits will occur in classification_5. About Problem 2: I hope you find a workaround for that.

semiautomaticgit commented 3 years ago

I'm closing this because of the new version 7. If you still get the same issue, please reopen it