Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hoek, Steven
lmgeo
Commits
5e3ab8f4
Commit
5e3ab8f4
authored
Sep 07, 2022
by
Hoek, Steven
Browse files
Mionr changes
parent
e837751f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lmgeo/toolbox/tilelib.py
View file @
5e3ab8f4
...
...
@@ -994,7 +994,7 @@ class VirtualTileStitcher():
lines
.
append
(
self
.
get_nodata
(
nodatavalue
,
datatype
))
# Gray, Palette, Red, Green, Blue, Alpha, Hue, Saturation, Lightness, Cyan, Magenta, Yellow, Black, or Unknown.
color_str
=
self
.
get_color_interp
(
"Gray"
)
color_str
=
self
.
get_color_interp
(
"Gray"
)
# TODO: skip this in case of more than 1 band
lines
.
append
(
color_str
)
# Now loop over the tiles. The output raster will be written strip by strip
...
...
@@ -1044,7 +1044,7 @@ class VirtualTileStitcher():
yoff
+=
self
.
__tileheight
# Write end </VRTRasterBand>
lines
.
append
(
"
</VRTRasterBand>
\n
"
)
lines
.
append
(
" </VRTRasterBand>
\n
"
)
# Write end </VRTDataset>
lines
.
append
(
"</VRTDataset>
\n
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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