Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
giscience
disaster-tools
image_from_tms
Commits
dcb1daef
Commit
dcb1daef
authored
Dec 15, 2020
by
Benjamin Herfort
Browse files
without geotransformatio
parent
56433403
Changes
2
Hide whitespace changes
Inline
Side-by-side
image_from_tms_tool.zip
View file @
dcb1daef
No preview for this file type
image_from_tms_tool/utils/stitch_tiles.py
View file @
dcb1daef
...
...
@@ -336,8 +336,8 @@ def stitch_tiles(infile, tms_name, zoomlevel, image_size, feedback):
prj
=
outSpatialRef
.
ExportToWkt
()
# apply transformation to raster and set projection
outRaster
.
SetGeoTransform
((
originX
,
pixelWidth
,
0
,
originY
,
0
,
pixelHeight
))
outRaster
.
SetProjection
(
prj
)
#
outRaster.SetGeoTransform((originX, pixelWidth, 0, originY, 0, pixelHeight))
#
outRaster.SetProjection(prj)
if
number_of_bands
>=
1
:
...
...
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