Skip to content

Commit

Permalink
7.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
semiautomaticgit committed Jul 29, 2021
1 parent f50da4c commit 903271a
Show file tree
Hide file tree
Showing 20 changed files with 23,634 additions and 23,601 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def description():


def version():
return 'Version 7.9.4 - Matera'
return 'Version 7.9.5 - Matera'


def icon():
Expand Down
7 changes: 6 additions & 1 deletion core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3747,7 +3747,12 @@ def calculateRaster(self, gdalBandList, rasterSCPArrayfunctionBand, columnNumber
except:
pass
# perform operation
o = eval(f)
try:
o = eval(f)
except Exception as err:
# logger
cfg.utls.logCondition(str(__name__) + '-' + (cfg.inspectSCP.stack()[0][3])+ ' ' + cfg.utls.lineOfCode(), ' ERROR exception: ' + str(err))
return 'No'
# output raster
oR = cfg.gdalSCP.Open(outputRaster, cfg.gdalSCP.GA_Update)
scale = gdalBandList[0]
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="7.9.4" plugin_id="284">
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="7.9.5" 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 ASTER, GOES, Landsat, MODIS, Sentinel-1, Sentinel-2, and Sentinel-3 images. Several algorithms are available for the land cover classification. This plugin requires the installation of GDAL, OGR, Numpy, SciPy, and Matplotlib. Some tools require also the installation of SNAP (ESA Sentinel Application Platform). For more information please visit https://fromgistors.blogspot.com .]]></about>
<version>7.9.4</version>
<version>7.9.5</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
20 changes: 10 additions & 10 deletions i18n/models/semiautomaticclassificationplugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5481,12 +5481,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Build overviews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Do you want to build the external overviews of bands?</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6101,7 +6101,7 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="9416"/>
<location filename="../core/utils.py" line="9421"/>
<source>SCP: completed process</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6511,27 +6511,27 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="6210"/>
<location filename="../core/utils.py" line="6215"/>
<source>Calculating signature</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7590"/>
<location filename="../core/utils.py" line="7595"/>
<source>Writing file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="5504"/>
<location filename="../core/utils.py" line="5509"/>
<source>Conversion to vector</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7265"/>
<location filename="../core/utils.py" line="7270"/>
<source>Sieve</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7395"/>
<location filename="../core/utils.py" line="7400"/>
<source>Building overviews</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6571,12 +6571,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Remove rows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Are you sure you want to remove highlighted rows from the table?</source>
<translation type="unfinished"></translation>
</message>
Expand Down
20 changes: 10 additions & 10 deletions i18n/semiautomaticclassificationplugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5481,12 +5481,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Build overviews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Do you want to build the external overviews of bands?</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6101,7 +6101,7 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="9416"/>
<location filename="../core/utils.py" line="9421"/>
<source>SCP: completed process</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6511,27 +6511,27 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="6210"/>
<location filename="../core/utils.py" line="6215"/>
<source>Calculating signature</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7590"/>
<location filename="../core/utils.py" line="7595"/>
<source>Writing file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="5504"/>
<location filename="../core/utils.py" line="5509"/>
<source>Conversion to vector</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7265"/>
<location filename="../core/utils.py" line="7270"/>
<source>Sieve</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7395"/>
<location filename="../core/utils.py" line="7400"/>
<source>Building overviews</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6571,12 +6571,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Remove rows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Are you sure you want to remove highlighted rows from the table?</source>
<translation type="unfinished"></translation>
</message>
Expand Down
20 changes: 10 additions & 10 deletions i18n/semiautomaticclassificationplugin_ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5481,12 +5481,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Build overviews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Do you want to build the external overviews of bands?</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6101,7 +6101,7 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="9416"/>
<location filename="../core/utils.py" line="9421"/>
<source>SCP: completed process</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6511,27 +6511,27 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="6210"/>
<location filename="../core/utils.py" line="6215"/>
<source>Calculating signature</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7590"/>
<location filename="../core/utils.py" line="7595"/>
<source>Writing file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="5504"/>
<location filename="../core/utils.py" line="5509"/>
<source>Conversion to vector</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7265"/>
<location filename="../core/utils.py" line="7270"/>
<source>Sieve</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7395"/>
<location filename="../core/utils.py" line="7400"/>
<source>Building overviews</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6571,12 +6571,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Remove rows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Are you sure you want to remove highlighted rows from the table?</source>
<translation type="unfinished"></translation>
</message>
Expand Down
20 changes: 10 additions & 10 deletions i18n/semiautomaticclassificationplugin_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5481,12 +5481,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Build overviews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Do you want to build the external overviews of bands?</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6101,7 +6101,7 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="9416"/>
<location filename="../core/utils.py" line="9421"/>
<source>SCP: completed process</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6511,27 +6511,27 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="6210"/>
<location filename="../core/utils.py" line="6215"/>
<source>Calculating signature</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7590"/>
<location filename="../core/utils.py" line="7595"/>
<source>Writing file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="5504"/>
<location filename="../core/utils.py" line="5509"/>
<source>Conversion to vector</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7265"/>
<location filename="../core/utils.py" line="7270"/>
<source>Sieve</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7395"/>
<location filename="../core/utils.py" line="7400"/>
<source>Building overviews</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6571,12 +6571,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Remove rows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Are you sure you want to remove highlighted rows from the table?</source>
<translation type="unfinished"></translation>
</message>
Expand Down
20 changes: 10 additions & 10 deletions i18n/semiautomaticclassificationplugin_el_GR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5481,12 +5481,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Build overviews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7316"/>
<location filename="../core/utils.py" line="7321"/>
<source>Do you want to build the external overviews of bands?</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6101,7 +6101,7 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="9416"/>
<location filename="../core/utils.py" line="9421"/>
<source>SCP: completed process</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6511,27 +6511,27 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="6210"/>
<location filename="../core/utils.py" line="6215"/>
<source>Calculating signature</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7590"/>
<location filename="../core/utils.py" line="7595"/>
<source>Writing file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="5504"/>
<location filename="../core/utils.py" line="5509"/>
<source>Conversion to vector</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7265"/>
<location filename="../core/utils.py" line="7270"/>
<source>Sieve</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="7395"/>
<location filename="../core/utils.py" line="7400"/>
<source>Building overviews</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -6571,12 +6571,12 @@ Do you want to add the required fields to this shapefile?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Remove rows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../core/utils.py" line="8863"/>
<location filename="../core/utils.py" line="8868"/>
<source>Are you sure you want to remove highlighted rows from the table?</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading

0 comments on commit 903271a

Please sign in to comment.