Commit 051d5fe5 authored by Martin Schorb's avatar Martin Schorb
Browse files

mergefile: bugfix tilepx

parent b6ad224e
......@@ -34,6 +34,7 @@ target_map = 'refmap'
# ====================================================================================
#%%
# dependencies
......
......@@ -605,12 +605,13 @@ def mergemap(mapitem,crop=False,black=False,blendmont=True):
for j, item in enumerate(tilepx): tilepx[j] = list(re.split(' +',item))
#
# for j, item in enumerate(tilepx): tilepx[j] = list(re.split(' +',item))
#
#
# #tilepx1 = tilepx1[:-1]
# for j, item in enumerate(tilepx1): tilepx1[j] = list(re.split(' +',item))
#tilepx1 = tilepx1[:-1]
for j, item in enumerate(tilepx1): tilepx1[j] = list(re.split(' +',item))
tilepx = numpy.array(tilepx)
tilepx = tilepx[tilepx[:,2] == str(mapsection),0:2]
tilepx = tilepx.astype(numpy.float)
......
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