Skip to content

Commit

Permalink
8.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
semiautomaticgit committed Oct 14, 2023
1 parent 743d416 commit c4becef
Show file tree
Hide file tree
Showing 20 changed files with 36,471 additions and 36,467 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def description():


def version():
return 'Version 8.0.5 - Infinity'
return 'Version 8.0.6 - Infinity'


def icon():
Expand Down
4 changes: 2 additions & 2 deletions docs/repository.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<plugins>
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="8.0.5" plugin_id="284">
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="8.0.6" plugin_id="284">
<description><![CDATA[The Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images.]]></description>
<about><![CDATA[Developed by Luca Congedo, the Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images. Search and download is available for Landsat, Sentinel-2 images. Several algorithms are available for the land cover classification. This plugin requires the installation of Remotior Sensus, GDAL, OGR, Numpy, SciPy, and Matplotlib. For more information please visit https://fromgistors.blogspot.com .]]></about>
<version>8.0.5</version>
<version>8.0.6</version>
<qgis_minimum_version>3.0.0</qgis_minimum_version>
<qgis_maximum_version>3.99.0</qgis_maximum_version>
<homepage><![CDATA[https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html]]></homepage>
Expand Down
3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_ar.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_de.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_el_GR.ts
100755 → 100644

Large diffs are not rendered by default.

Binary file modified i18n/semiautomaticclassificationplugin_es.qm
Binary file not shown.
3,845 changes: 1,921 additions & 1,924 deletions i18n/semiautomaticclassificationplugin_es.ts
100755 → 100644

Large diffs are not rendered by default.

Binary file modified i18n/semiautomaticclassificationplugin_fr.qm
Binary file not shown.
3,914 changes: 1,957 additions & 1,957 deletions i18n/semiautomaticclassificationplugin_fr.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_it.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_ja.ts
100755 → 100644

Large diffs are not rendered by default.

Binary file modified i18n/semiautomaticclassificationplugin_pl.qm
Binary file not shown.
3,839 changes: 1,918 additions & 1,921 deletions i18n/semiautomaticclassificationplugin_pl.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_pt.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_pt_BR.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_uk_UA.ts
100755 → 100644

Large diffs are not rendered by default.

3,174 changes: 1,587 additions & 1,587 deletions i18n/semiautomaticclassificationplugin_zh_CN.ts
100755 → 100644

Large diffs are not rendered by default.

22 changes: 14 additions & 8 deletions interface/classification_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,14 +476,20 @@ def run_classifier(save_classifier=None, preview_point=None):
output_raster = output.path
# add raster to layers
raster = cfg.util_qgis.add_raster_layer(output_raster)
cfg.util_qgis.move_layer_to_top(raster)
# apply symbology
apply_class_symbology(raster, macroclass)
name = cfg.rs.files_directories.file_name(output_raster)
directory = cfg.rs.files_directories.parent_directory(output_raster)
cfg.util_qgis.save_qml_style(
raster, '%s/%s.qml' % (directory, name)
)
if raster is False:
cfg.logger.log.error('raster output not found')
cfg.mx.msg_err_1()
else:
cfg.util_qgis.move_layer_to_top(raster)
# apply symbology
apply_class_symbology(raster, macroclass)
name = cfg.rs.files_directories.file_name(output_raster)
directory = cfg.rs.files_directories.parent_directory(
output_raster
)
cfg.util_qgis.save_qml_style(
raster, '%s/%s.qml' % (directory, name)
)
else:
cfg.mx.msg_err_1()
cfg.ui_utils.remove_progress_bar(smtp=str(__name__))
Expand Down
6 changes: 5 additions & 1 deletion metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name=Semi-Automatic Classification Plugin
qgisMinimumVersion=3.00
description=The Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images.
version=8.0.5
version=8.0.6
about=Developed by Luca Congedo, the Semi-Automatic Classification Plugin (SCP) allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images. Search and download is available for Landsat, Sentinel-2 images. Several algorithms are available for the land cover classification. This plugin requires the installation of Remotior Sensus, GDAL, OGR, Numpy, SciPy, and Matplotlib. For more information please visit https://fromgistors.blogspot.com .

author=Luca Congedo
Expand All @@ -13,6 +13,10 @@ icon=semiautomaticclassificationplugin.png

changelog=

8.0.6
-fixed classification message
-reset localization file, to be translated for the new version

8.0.5
-fixed #298

Expand Down
32,740 changes: 16,370 additions & 16,370 deletions ui/resources_rc.py

Large diffs are not rendered by default.

0 comments on commit c4becef

Please sign in to comment.