Skip to content

Commit de38970

Browse files
7.10.3
1 parent f711ffc commit de38970

20 files changed

Lines changed: 23067 additions & 23058 deletions

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def description():
4242

4343

4444
def version():
45-
return 'Version 7.10.2 - Matera'
45+
return 'Version 7.10.3 - Matera'
4646

4747

4848
def icon():

core/config.py

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@
774774

775775
''' Batch '''
776776
workingDirNm = '!working_dir!'
777-
processSettingsNm = '!process_settings!'
778777
tempRasterNm = '!temp_raster_'
779778
tempDirNm = '!temp_dir!'
780779
startForDirNm = '!for_directory_in!'
@@ -837,22 +836,22 @@
837836
functionNames.append([[' reclassification', 'cfg.batchT.performReclassification', 'cfg.reclassification.reclassify', ['input_raster_path : \'\'', 'value_list : \'oldVal_newVal,oldVal_newVal\'', 'use_signature_list_code : 1', 'code_field : \'MC_ID\'', 'output_raster_path : \'\'']]])
838837
functionNames.append([[' zonal_stat_raster', 'cfg.batchT.performZonalStatRaster', 'cfg.znlSttRstT.zonalStatRaster', ['input_raster_path : \'\'', 'reference_file_path : \'\'', 'use_nodata : 0', 'nodata_value : 0', 'vector_field_name : \'\'', 'statistic : \'sum\'', 'stat_value : 50', 'output_raster_path : \'\'']]])
839838
functionNames.append([['Variables']])
840-
functionNames.append([[workingDirNm, 'cfg.batchT.workingDirectory', '', ['\'\'']]])
841-
functionNames.append([[processSettingsNm, 'cfg.batchT.processSettings', 'cfg.sets.setProcessSetting', ['threads : 2', 'ram : 512']]])
842-
functionNames.append([[startForDirNm, '', '', ['\'\'']]])
843-
functionNames.append([[DirNm, '', '', []]])
844-
functionNames.append([[directoryName, '', '', []]])
845-
functionNames.append([[endForDirNm, '', '', []]])
846-
functionNames.append([[startForFileNm, '', '', ['\'\'']]])
847-
functionNames.append([[FileNm, '', '', []]])
848-
functionNames.append([[FileDirNm, '', '', []]])
849-
functionNames.append([[endForFileNm, '', '', []]])
850-
functionNames.append([[startForBandSetNm, '', '', ['\'\'']]])
851-
functionNames.append([[bandSetNm, '', '', []]])
852-
functionNames.append([[endForBandSetNm, '', '', []]])
853-
functionNames.append([[tempRasterNm + '1!', '', '', []]])
854-
functionNames.append([[tempDirNm, '', '', []]])
855-
functionNames.append([['Notifications']])
839+
functionNames.append([[' ' + workingDirNm, 'cfg.batchT.workingDirectory', '', ['\'\'']]])
840+
functionNames.append([[' ' + startForDirNm, '', '', ['\'\'']]])
841+
functionNames.append([[' ' + DirNm, '', '', []]])
842+
functionNames.append([[' ' + directoryName, '', '', []]])
843+
functionNames.append([[' ' + endForDirNm, '', '', []]])
844+
functionNames.append([[' ' + startForFileNm, '', '', ['\'\'']]])
845+
functionNames.append([[' ' + FileNm, '', '', []]])
846+
functionNames.append([[' ' + FileDirNm, '', '', []]])
847+
functionNames.append([[' ' + endForFileNm, '', '', []]])
848+
functionNames.append([[' ' + startForBandSetNm, '', '', ['\'\'']]])
849+
functionNames.append([[' ' + bandSetNm, '', '', []]])
850+
functionNames.append([[' ' + endForBandSetNm, '', '', []]])
851+
functionNames.append([[' ' + tempRasterNm + '1!', '', '', []]])
852+
functionNames.append([[' ' + tempDirNm, '', '', []]])
853+
functionNames.append([['Functions']])
854+
functionNames.append([[' process_settings', 'cfg.batchT.processSettings', 'cfg.sets.setProcessSetting', ['threads : 2', 'ram : 512']]])
856855
functionNames.append([[' send_notification', 'cfg.batchT.performSendNotification', 'cfg.utls.sendSMTPMessage', ['subject : \'\'', 'message : \'\'']]])
857856

858857
''' Scatter plot '''

docs/repository.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version = '1.0' encoding = 'UTF-8'?>
22
<plugins>
3-
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="7.10.2" plugin_id="284">
3+
<pyqgis_plugin name="Semi-Automatic Classification Plugin - master" version="7.10.3" plugin_id="284">
44
<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>
55
<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>
6-
<version>7.10.2</version>
6+
<version>7.10.3</version>
77
<qgis_minimum_version>3.0.0</qgis_minimum_version>
88
<qgis_maximum_version>3.99.0</qgis_maximum_version>
99
<homepage><![CDATA[https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html]]></homepage>

i18n/models/semiautomaticclassificationplugin.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5524,12 +5524,12 @@ Do you want to add the required fields to this shapefile?</source>
55245524
<translation type="unfinished"></translation>
55255525
</message>
55265526
<message>
5527-
<location filename="../maininterface/batchTab.py" line="431"/>
5527+
<location filename="../maininterface/batchTab.py" line="438"/>
55285528
<source>Select a batch file</source>
55295529
<translation type="unfinished"></translation>
55305530
</message>
55315531
<message>
5532-
<location filename="../maininterface/batchTab.py" line="438"/>
5532+
<location filename="../maininterface/batchTab.py" line="445"/>
55335533
<source>Save the batch to file</source>
55345534
<translation type="unfinished"></translation>
55355535
</message>
@@ -6064,7 +6064,7 @@ Do you want to add the required fields to this shapefile?</source>
60646064
<translation type="unfinished"></translation>
60656065
</message>
60666066
<message>
6067-
<location filename="../maininterface/batchTab.py" line="373"/>
6067+
<location filename="../maininterface/batchTab.py" line="380"/>
60686068
<source>Check OK</source>
60696069
<translation type="unfinished"></translation>
60706070
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3776"/>
6267+
<location filename="../maininterface/batchTab.py" line="3783"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>
@@ -6584,7 +6584,7 @@ Do you want to add the required fields to this shapefile?</source>
65846584
<translation type="unfinished"></translation>
65856585
</message>
65866586
<message>
6587-
<location filename="../maininterface/batchTab.py" line="367"/>
6587+
<location filename="../maininterface/batchTab.py" line="374"/>
65886588
<source>Error line </source>
65896589
<translation type="unfinished"></translation>
65906590
</message>

i18n/semiautomaticclassificationplugin.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5524,12 +5524,12 @@ Do you want to add the required fields to this shapefile?</source>
55245524
<translation type="unfinished"></translation>
55255525
</message>
55265526
<message>
5527-
<location filename="../maininterface/batchTab.py" line="431"/>
5527+
<location filename="../maininterface/batchTab.py" line="438"/>
55285528
<source>Select a batch file</source>
55295529
<translation type="unfinished"></translation>
55305530
</message>
55315531
<message>
5532-
<location filename="../maininterface/batchTab.py" line="438"/>
5532+
<location filename="../maininterface/batchTab.py" line="445"/>
55335533
<source>Save the batch to file</source>
55345534
<translation type="unfinished"></translation>
55355535
</message>
@@ -6064,7 +6064,7 @@ Do you want to add the required fields to this shapefile?</source>
60646064
<translation type="unfinished"></translation>
60656065
</message>
60666066
<message>
6067-
<location filename="../maininterface/batchTab.py" line="373"/>
6067+
<location filename="../maininterface/batchTab.py" line="380"/>
60686068
<source>Check OK</source>
60696069
<translation type="unfinished"></translation>
60706070
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3776"/>
6267+
<location filename="../maininterface/batchTab.py" line="3783"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>
@@ -6584,7 +6584,7 @@ Do you want to add the required fields to this shapefile?</source>
65846584
<translation type="unfinished"></translation>
65856585
</message>
65866586
<message>
6587-
<location filename="../maininterface/batchTab.py" line="367"/>
6587+
<location filename="../maininterface/batchTab.py" line="374"/>
65886588
<source>Error line </source>
65896589
<translation type="unfinished"></translation>
65906590
</message>

i18n/semiautomaticclassificationplugin_ar.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5524,12 +5524,12 @@ Do you want to add the required fields to this shapefile?</source>
55245524
<translation type="unfinished"></translation>
55255525
</message>
55265526
<message>
5527-
<location filename="../maininterface/batchTab.py" line="431"/>
5527+
<location filename="../maininterface/batchTab.py" line="438"/>
55285528
<source>Select a batch file</source>
55295529
<translation type="unfinished"></translation>
55305530
</message>
55315531
<message>
5532-
<location filename="../maininterface/batchTab.py" line="438"/>
5532+
<location filename="../maininterface/batchTab.py" line="445"/>
55335533
<source>Save the batch to file</source>
55345534
<translation type="unfinished"></translation>
55355535
</message>
@@ -6064,7 +6064,7 @@ Do you want to add the required fields to this shapefile?</source>
60646064
<translation type="unfinished"></translation>
60656065
</message>
60666066
<message>
6067-
<location filename="../maininterface/batchTab.py" line="373"/>
6067+
<location filename="../maininterface/batchTab.py" line="380"/>
60686068
<source>Check OK</source>
60696069
<translation type="unfinished"></translation>
60706070
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3776"/>
6267+
<location filename="../maininterface/batchTab.py" line="3783"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>
@@ -6584,7 +6584,7 @@ Do you want to add the required fields to this shapefile?</source>
65846584
<translation type="unfinished"></translation>
65856585
</message>
65866586
<message>
6587-
<location filename="../maininterface/batchTab.py" line="367"/>
6587+
<location filename="../maininterface/batchTab.py" line="374"/>
65886588
<source>Error line </source>
65896589
<translation type="unfinished"></translation>
65906590
</message>

i18n/semiautomaticclassificationplugin_de.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5524,12 +5524,12 @@ Do you want to add the required fields to this shapefile?</source>
55245524
<translation type="unfinished"></translation>
55255525
</message>
55265526
<message>
5527-
<location filename="../maininterface/batchTab.py" line="431"/>
5527+
<location filename="../maininterface/batchTab.py" line="438"/>
55285528
<source>Select a batch file</source>
55295529
<translation type="unfinished"></translation>
55305530
</message>
55315531
<message>
5532-
<location filename="../maininterface/batchTab.py" line="438"/>
5532+
<location filename="../maininterface/batchTab.py" line="445"/>
55335533
<source>Save the batch to file</source>
55345534
<translation type="unfinished"></translation>
55355535
</message>
@@ -6064,7 +6064,7 @@ Do you want to add the required fields to this shapefile?</source>
60646064
<translation type="unfinished"></translation>
60656065
</message>
60666066
<message>
6067-
<location filename="../maininterface/batchTab.py" line="373"/>
6067+
<location filename="../maininterface/batchTab.py" line="380"/>
60686068
<source>Check OK</source>
60696069
<translation type="unfinished"></translation>
60706070
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3776"/>
6267+
<location filename="../maininterface/batchTab.py" line="3783"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>
@@ -6584,7 +6584,7 @@ Do you want to add the required fields to this shapefile?</source>
65846584
<translation type="unfinished"></translation>
65856585
</message>
65866586
<message>
6587-
<location filename="../maininterface/batchTab.py" line="367"/>
6587+
<location filename="../maininterface/batchTab.py" line="374"/>
65886588
<source>Error line </source>
65896589
<translation type="unfinished"></translation>
65906590
</message>

i18n/semiautomaticclassificationplugin_el_GR.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5524,12 +5524,12 @@ Do you want to add the required fields to this shapefile?</source>
55245524
<translation type="unfinished"></translation>
55255525
</message>
55265526
<message>
5527-
<location filename="../maininterface/batchTab.py" line="431"/>
5527+
<location filename="../maininterface/batchTab.py" line="438"/>
55285528
<source>Select a batch file</source>
55295529
<translation type="unfinished"></translation>
55305530
</message>
55315531
<message>
5532-
<location filename="../maininterface/batchTab.py" line="438"/>
5532+
<location filename="../maininterface/batchTab.py" line="445"/>
55335533
<source>Save the batch to file</source>
55345534
<translation type="unfinished"></translation>
55355535
</message>
@@ -6064,7 +6064,7 @@ Do you want to add the required fields to this shapefile?</source>
60646064
<translation type="unfinished"></translation>
60656065
</message>
60666066
<message>
6067-
<location filename="../maininterface/batchTab.py" line="373"/>
6067+
<location filename="../maininterface/batchTab.py" line="380"/>
60686068
<source>Check OK</source>
60696069
<translation type="unfinished"></translation>
60706070
</message>
@@ -6264,7 +6264,7 @@ Do you want to add the required fields to this shapefile?</source>
62646264
<translation type="unfinished"></translation>
62656265
</message>
62666266
<message>
6267-
<location filename="../maininterface/batchTab.py" line="3776"/>
6267+
<location filename="../maininterface/batchTab.py" line="3783"/>
62686268
<source>missing parameter</source>
62696269
<translation type="unfinished"></translation>
62706270
</message>
@@ -6584,7 +6584,7 @@ Do you want to add the required fields to this shapefile?</source>
65846584
<translation type="unfinished"></translation>
65856585
</message>
65866586
<message>
6587-
<location filename="../maininterface/batchTab.py" line="367"/>
6587+
<location filename="../maininterface/batchTab.py" line="374"/>
65886588
<source>Error line </source>
65896589
<translation type="unfinished"></translation>
65906590
</message>

i18n/semiautomaticclassificationplugin_es.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5528,12 +5528,12 @@ Do you want to add the required fields to this shapefile?</source>
55285528
<translation>¿Quieres construir vistas generales externas?</translation>
55295529
</message>
55305530
<message>
5531-
<location filename="../maininterface/batchTab.py" line="431"/>
5531+
<location filename="../maininterface/batchTab.py" line="438"/>
55325532
<source>Select a batch file</source>
55335533
<translation>Seleccionar un archivo de lotes</translation>
55345534
</message>
55355535
<message>
5536-
<location filename="../maininterface/batchTab.py" line="438"/>
5536+
<location filename="../maininterface/batchTab.py" line="445"/>
55375537
<source>Save the batch to file</source>
55385538
<translation>Guardar los lotes en un archivo</translation>
55395539
</message>
@@ -6068,7 +6068,7 @@ Do you want to add the required fields to this shapefile?</source>
60686068
<translation type="unfinished"></translation>
60696069
</message>
60706070
<message>
6071-
<location filename="../maininterface/batchTab.py" line="373"/>
6071+
<location filename="../maininterface/batchTab.py" line="380"/>
60726072
<source>Check OK</source>
60736073
<translation type="unfinished"></translation>
60746074
</message>
@@ -6268,7 +6268,7 @@ Do you want to add the required fields to this shapefile?</source>
62686268
<translation type="unfinished"></translation>
62696269
</message>
62706270
<message>
6271-
<location filename="../maininterface/batchTab.py" line="3776"/>
6271+
<location filename="../maininterface/batchTab.py" line="3783"/>
62726272
<source>missing parameter</source>
62736273
<translation type="unfinished"></translation>
62746274
</message>
@@ -6588,7 +6588,7 @@ Do you want to add the required fields to this shapefile?</source>
65886588
<translation type="unfinished"></translation>
65896589
</message>
65906590
<message>
6591-
<location filename="../maininterface/batchTab.py" line="367"/>
6591+
<location filename="../maininterface/batchTab.py" line="374"/>
65926592
<source>Error line </source>
65936593
<translation type="unfinished"></translation>
65946594
</message>

i18n/semiautomaticclassificationplugin_fr.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5936,22 +5936,22 @@ Do you want to add the required fields to this shapefile?</source>
59365936
<translation type="unfinished"></translation>
59375937
</message>
59385938
<message>
5939-
<location filename="../maininterface/batchTab.py" line="373"/>
5939+
<location filename="../maininterface/batchTab.py" line="380"/>
59405940
<source>Check OK</source>
59415941
<translation type="unfinished"></translation>
59425942
</message>
59435943
<message>
5944-
<location filename="../maininterface/batchTab.py" line="431"/>
5944+
<location filename="../maininterface/batchTab.py" line="438"/>
59455945
<source>Select a batch file</source>
59465946
<translation type="unfinished"></translation>
59475947
</message>
59485948
<message>
5949-
<location filename="../maininterface/batchTab.py" line="438"/>
5949+
<location filename="../maininterface/batchTab.py" line="445"/>
59505950
<source>Save the batch to file</source>
59515951
<translation type="unfinished"></translation>
59525952
</message>
59535953
<message>
5954-
<location filename="../maininterface/batchTab.py" line="3776"/>
5954+
<location filename="../maininterface/batchTab.py" line="3783"/>
59555955
<source>missing parameter</source>
59565956
<translation type="unfinished"></translation>
59575957
</message>
@@ -6586,7 +6586,7 @@ Do you want to add the required fields to this shapefile?</source>
65866586
<translation type="unfinished">Date</translation>
65876587
</message>
65886588
<message>
6589-
<location filename="../maininterface/batchTab.py" line="367"/>
6589+
<location filename="../maininterface/batchTab.py" line="374"/>
65906590
<source>Error line </source>
65916591
<translation type="unfinished"></translation>
65926592
</message>

0 commit comments

Comments
 (0)