Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoSentinel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoSentinel
Commits
15e07a64
Commit
15e07a64
authored
Oct 05, 2018
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCL to JSON
parent
0f87be5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
README.md
README.md
+13
-0
No files found.
README.md
View file @
15e07a64
...
@@ -122,6 +122,19 @@ This script uses `gdal_merge.py` and `gdal_translate` to merge all the images w
...
@@ -122,6 +122,19 @@ This script uses `gdal_merge.py` and `gdal_translate` to merge all the images w
### Example
### Example
```
bash
```
bash
mergeImagesByDirectory.sh /home/geoint/NAS/images/
mergeImagesByDirectory.sh /home/geoint/NAS/images/
```
## Count Total Area for Each L2A SCL Calss (`geosentinel/L2ASCLtoJSON`)
This script count the total number of each of the 12 classes in a SCL image form a Sentinel-2 L2A product.
```
json
{
"wkt"
:
"POLYGON((-89.62955474853516 21.05230266883862,-89.55093383789061 21.05230266883862,-89.52930450439452 20.965126493194475,-89.6484375 20.873408465645696,-89.72877502441405 20.95294341625548,-89.65805053710938 21.056788298627097,-89.62955474853516 21.05230266883862))"
,
"filename"
:
"/home/geoint/NAS/data/mergecrop/20180214SCL_20m_merged.tif"
}
```
bash
L2ASCLtoJSON.py meridaSCL.json > SCLresult.json
```
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment