Commit 3e61bb42 authored by Hoek, Steven's avatar Hoek, Steven
Browse files

TODO comment added

parent 0432f73a
...@@ -120,6 +120,7 @@ class BaseTiffRaster(Raster): ...@@ -120,6 +120,7 @@ class BaseTiffRaster(Raster):
def readheader(self): def readheader(self):
# Header has 6 lines - without labels! # Header has 6 lines - without labels!
# TODO rather use class WorldFile
sign = lambda x: (1, -1)[x<0]; sign = lambda x: (1, -1)[x<0];
pos = str.rfind(str(self.name), "." + self._const.DATAFILEXT); pos = str.rfind(str(self.name), "." + self._const.DATAFILEXT);
if pos != -1: hdrFilename = self.name[0:pos] + "." + self._const.WORLDEXT if pos != -1: hdrFilename = self.name[0:pos] + "." + self._const.WORLDEXT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment