Skip to content

Commit d4f5748

Browse files
8.0.0
1 parent dbca0ce commit d4f5748

322 files changed

Lines changed: 83745 additions & 182845 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
target/
76+
77+
# Jupyter Notebook
78+
.ipynb_checkpoints
79+
80+
# IPython
81+
profile_default/
82+
ipython_config.py
83+
84+
# pyenv
85+
.python-version
86+
87+
# pipenv
88+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
90+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
91+
# install all needed dependencies.
92+
#Pipfile.lock
93+
94+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
95+
__pypackages__/
96+
97+
# Celery stuff
98+
celerybeat-schedule
99+
celerybeat.pid
100+
101+
# SageMath parsed files
102+
*.sage.py
103+
104+
# Environments
105+
.env
106+
.venv
107+
env/
108+
venv/
109+
ENV/
110+
env.bak/
111+
venv.bak/
112+
113+
# Spyder project settings
114+
.spyderproject
115+
.spyproject
116+
117+
# Rope project settings
118+
.ropeproject
119+
120+
# mkdocs documentation
121+
/site
122+
123+
# mypy
124+
.mypy_cache/
125+
.dmypy.json
126+
dmypy.json
127+
128+
# Pyre type checker
129+
.pyre/

COPYING.txt renamed to COPYING

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <http://www.gnu.org/licenses/>.
648+
along with this program. If not, see <https://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<http://www.gnu.org/licenses/>.
667+
<https://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
674+
<https://www.gnu.org/licenses/why-not-lgpl.html>.

DEVELOPMENT.md

100644100755
Lines changed: 50 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
11
# Semi Automatic Classification Plugin (SCP)
22

3-
![SCP](semiautomaticclassificationplugin.png) The Semi-Automatic Classification Plugin (SCP) is a free open source plugin for QGIS that allows for the supervised classification of remote sensing images, providing tools for the download, the preprocessing and postprocessing of images.
4-
5-
The overall objective of SCP is to provide a set of intertwined tools for raster processing in order to make an automatic workflow and ease the land cover classification, which could be performed also by people whose main field is not remote sensing.
6-
7-
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).
3+
![SCP](semiautomaticclassificationplugin.png)
4+
The Semi-Automatic Classification
5+
Plugin (SCP) is a free open source plugin for QGIS that allows for the
6+
supervised classification of remote sensing images, providing tools for the
7+
download, the preprocessing and postprocessing of images.
8+
9+
The overall objective of SCP is to provide a set of intertwined tools for
10+
raster processing in order to make an automatic workflow and ease the land
11+
cover classification, which could be performed also by people whose main field
12+
is not remote sensing.
13+
14+
Search and download is available for Landsat, Sentinel-2 images.
15+
Several algorithms are available for the land cover classification.
16+
This plugin requires the installation of Remotior Sensus, GDAL, OGR, Numpy,
17+
SciPy, and Matplotlib.
818

919
## Contributing to the development
1020

11-
These instructions will get you a copy of the plugin up and running on your local machine for development and testing purposes.
21+
These instructions will get you a copy of the plugin up and running
22+
on your local machine for development and testing purposes.
1223

13-
You do not need any of these steps if you are just interested in using the plugin.
24+
You do not need any of these steps if you are just interested in using
25+
the plugin.
1426

1527
## Before contributing
1628

17-
If you find a bug of if you want to add a new feature, create a new issue on GitHub to discuss it with the community. Other developers can provide valuable feedback that can improve and make your proposal or your fix even better.
29+
If you find a bug of if you want to add a new feature,
30+
create a new issue on GitHub to discuss it with the community.
31+
Other developers can provide valuable feedback that can improve
32+
and make your proposal or your fix even better.
1833

1934
### Prerequisites
2035

@@ -29,13 +44,12 @@ import scipy;
2944
>>> print(scipy.__version__);
3045
1.0.0
3146
```
32-
Do the same for `matplotlib` and `numpy`.
47+
Do the same for `remotior-sensus`, `matplotlib` and `numpy`.
3348

34-
If necessary, install the required libraries, using `easy_install` or `pip`.
35-
Use `easy_install3` and `pip3` if you have both Python 2.x and 3.x.
49+
If necessary, install the required libraries using `pip3`.
3650

3751
```bash
38-
sudo easy_install3 scipy
52+
sudo pip3 install scipy
3953
```
4054

4155
### Workflow overview
@@ -48,7 +62,7 @@ Clone your fork on your local computer. You can do it on the command line with:
4862
mkdir -p ~/dev
4963
git clone git@github.com:yourgithubusername/SemiAutomaticClassificationPlugin.git
5064
```
51-
Your fork will called `origin`. Check that with:
65+
Your fork will be called `origin`. Check that with:
5266

5367
```bash
5468
cd SemiAutomaticClassificationPlugin
@@ -68,7 +82,8 @@ Create a new branch.
6882
git checkout -b mycontribution
6983
```
7084

71-
Make your changes. Compile and test your changes (more details about this on the next section).
85+
Make your changes.
86+
Compile and test your changes (more details about this on the next section).
7287

7388
When you have done your edits, commit your local changes, with something like:
7489

@@ -80,7 +95,8 @@ Push your changes back to your GitHub repository fork with:
8095
```bash
8196
git push origin mycontribution
8297
```
83-
You are now ready to issue your Pull Request. Go to your GitHub repository interface and make your Pull Request online.
98+
You are now ready to issue your Pull Request.
99+
Go to your GitHub repository interface and make your Pull Request online.
84100

85101
### Compile and deploy on your local computer
86102

@@ -98,25 +114,29 @@ make package VERSION=mycontribution
98114

99115
This will create a new archive `SemiAutomaticClassificationPlugin.zip`.
100116

101-
In QGIS 3 you can install a plugin from the zip archive using the plugin manager interface.
117+
In QGIS 3 you can install a plugin from the zip archive using
118+
the plugin manager interface.
102119

103-
![Install SCP from zip archive](docs/install%20SCP%20from%20zip%20archive.png)
120+
![Install SCP from zip archive](docs/install_archive.png)
104121

105122
## Test the SCP
106123

107-
Start QGIS 3 and check if the plugin is properly installed. If you are running QGIS in another computer or using another profile, install the plugin from the zip file.
108-
109-
and install the plugin from the zip file created.
124+
Start QGIS 3 and check if the plugin is properly installed.
125+
If you are running QGIS in another computer or using another profile,
126+
install the plugin from the zip file.
110127

111128
### End user test
112129

113-
Test your bug fixes or new features carefully. Make sure you did not break any existing code.
130+
Test your bug fixes or new features carefully.
131+
Make sure you did not break any existing code.
114132

115-
Do some screen captures of the new enhancements to publish if you want to issue a pull request.
133+
Do some screen captures of the new enhancements to publish if you want
134+
to issue a pull request.
116135

117136
## Contributing
118137

119-
If the code is working as you expect, follow the steps already mentioned to issue a pull request.
138+
If the code is working as you expect, follow the steps already mentioned
139+
to issue a pull request.
120140

121141
1. Commit your local changes, with something like:
122142

@@ -128,9 +148,12 @@ Push your changes to your GitHub repository with:
128148
```bash
129149
git push origin mycontribution
130150
```
131-
Go to your GitHub repository interface and make your Pull Request. Please be verbose on your comments.
151+
Go to your GitHub repository interface and make your Pull Request.
152+
Please be verbose on your comments.
132153

133-
After doing your Pull Request, make sure you are available to provide feedback to questions and comments to your contribution from other developers. In the absence of any feedback concerning your Pull Request, it will be closed.
154+
After doing your Pull Request, make sure you are available to provide
155+
feedback to questions and comments to your contribution from other developers.
156+
In the absence of any feedback concerning your Pull Request, it will be closed.
134157

135158
## Authors
136159

@@ -140,4 +163,5 @@ See also the list of [contributors](https://github.com/semiautomaticgit/SemiAuto
140163

141164
## License
142165

143-
This plugin is distributed under a GNU General Public License version 3. To contribute you must accept this license.
166+
This plugin is distributed under a GNU General Public License version 3.
167+
To contribute you must accept this license.

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright (C) 2012-2023 Luca Congedo.
2+
3+
Semi-Automatic Classification Plugin is free software:
4+
you can redistribute it and/or modify it under the terms of the
5+
GNU General Public License as published by the Free Software Foundation,
6+
either version 3 of the License, or (at your option) any later version.
7+
Semi-Automatic Classification Plugin is distributed in the hope that
8+
it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
9+
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10+
See the GNU General Public License for more details.
11+
You should have received a copy of the GNU General Public License
12+
along with Semi-Automatic Classification Plugin.
13+
If not, see <https://www.gnu.org/licenses/>.

0 commit comments

Comments
 (0)