Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
UGL
website
Commits
79a9573a
Commit
79a9573a
authored
Feb 26, 2024
by
JOE XMG
Browse files
update
parent
38f8aa21
Pipeline
#9127
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/fellbach/png2tif.sh
0 → 100644
View file @
79a9573a
mkdir
-p
tif
# Convert PNGs to TIFs one by one
for
file
in
*
.png
do
# Get the file name without the extension
filename
=
"
${
file
%.*
}
"
# Convert the PNG file to GeoTIFF
# including the corresponding pgw file for georeferencing
gdal_translate
-of
GTiff
-co
"TILED=YES"
"
${
filename
}
.png"
"tif/
${
filename
}
.tif"
done
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