Skip to content

Commit

Permalink
bugfix geopoint-cloud (#20)
Browse files Browse the repository at this point in the history
Bugfix geolocation: point cloud-fix (take first out of 11)
  • Loading branch information
Lenzma authored May 11, 2020
1 parent 819a0de commit 0667bd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,9 @@ def map_spatial(self,invalue,geotab):
if len(invalue) == 1:
valarr=invalue[0].split()
else:
valarr=self.flatten(invalue)
#valarr=self.flatten(invalue)
#Workaround for geolocation: point cloud (several points per record)
valarr=list(self.flatten(invalue))[0].split()
else:
valarr=invalue.split() ##HEW??? [invalue]
self.logger.info(' | Valarr:\t%s' % valarr)
Expand Down

0 comments on commit 0667bd8

Please sign in to comment.