-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
I fetch the changes from remote and then merge them into the master branch
- Loading branch information
Showing
8 changed files
with
1,052 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM osgeo/gdal:ubuntu-full-latest | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && \ | ||
apt-get install -y tzdata git postgresql postgis build-essential nano python3-pip | ||
|
||
RUN git clone https://github.com/mapgears/pgrastertime && \ | ||
pip3 install sqlalchemy && \ | ||
pip3 install geoalchemy2 && \ | ||
pip3 install psycopg2-binary | ||
|
||
# dont forget attach to container run the folowing command | ||
# cd pgrastertime | ||
# cp development.ini local.ini | ||
# nano local.ini | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
CLASS | ||
EXPRESSION ([pixel] >= 1) | ||
NAME "More than 1.0m shallower than reference depth" | ||
STYLE | ||
COLOR "#FC8327" | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <1 AND [pixel] >=0.5) | ||
NAME "0.5 to 1.0m shallower than reference depth" | ||
STYLE | ||
COLOR "#FEBE26" | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] < 0.5 AND [pixel] >=0) | ||
NAME "Less than 0.5m shallower than reference depth" | ||
STYLE | ||
COLOR "#FEF65B" | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <0 AND [pixel] >=-0.5) | ||
NAME "Less than 0.5m deeper than reference depth" | ||
STYLE | ||
COLOR "#73E0FF" | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <-0.5 AND [pixel] >=-1) | ||
NAME "0.5 to 1.0m deeper than reference depth" | ||
STYLE | ||
COLOR "#4CBCF8" | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <-1 AND [pixel] >=-1.5) | ||
NAME "1.0 to 1.5m deeper than reference depth" | ||
STYLE | ||
COLOR "#2B9DFE" | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <=-1.5) | ||
NAME "More than 1.5m deeper than reference" | ||
STYLE | ||
COLOR "#A5A5A5" | ||
END | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
CLASS | ||
EXPRESSION ([pixel] <0 AND [pixel] >=-8) | ||
NAME "0 to 8 m" | ||
STYLE | ||
COLORRANGE 152 0 86 254 0 0 | ||
DATARANGE 0 -8 | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <-8 AND [pixel] >=-10) | ||
NAME "8 to 10 m" | ||
STYLE | ||
COLORRANGE 254 0 0 255 255 0 | ||
DATARANGE -8 -10 | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <-10 AND [pixel] >=-12) | ||
NAME "10 to 12 m" | ||
STYLE | ||
COLORRANGE 255 255 0 0 255 0 | ||
DATARANGE -10 -12 | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <-12 AND [pixel] >=-14) | ||
NAME "12 to 14 m" | ||
STYLE | ||
COLORRANGE 0 255 0 0 255 255 | ||
DATARANGE -12 -14 | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <-14 AND [pixel] >=-20) | ||
NAME "14 to 20 m" | ||
STYLE | ||
COLORRANGE 0 255 255 0 0 255 | ||
DATARANGE -14 -20 | ||
END | ||
END | ||
CLASS | ||
EXPRESSION ([pixel] <-20 AND [pixel] >=-105) | ||
NAME "20 to 105 m" | ||
STYLE | ||
COLORRANGE 0 0 255 116 0 122 | ||
DATARANGE -20 -105 | ||
END | ||
END | ||
|
Oops, something went wrong.