Commit de0056ad authored by Gaetano Raffaele's avatar Gaetano Raffaele

FIX: correct bug on path/row parsing for L8

parent 2a20c69a
......@@ -36,7 +36,7 @@ def findpathrows(shp):
g.Transform(tr)
if g.Intersects(gr):
intsect = g.Intersection(gr)
pr = str(fr.GetField('PR'))
pr = str(int(fr.GetField('PR'))).zfill(6)
if pr not in pathrows:
pathrows.append(pr)
ovl.append(intsect.GetArea() / g.GetArea())
......
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