Dear member list,<br><br>I am trying the module laspy and see the difference between liblas, but i get this problem. Following the example in page <a href="http://packages.python.org/laspy/file.html">http://packages.python.org/laspy/file.html</a><br>
<br><br><br>inFile = "mylas.las"<br>f = file.File(inFile, mode='r')<br>for p in f:<br>...     print 'X,Y,Z: ', p.x, p.y, p.z<br>...     <br>X,Y,Z: Traceback (most recent call last):<br>  File "<interactive input>", line 2, in <module><br>
AttributeError: Point instance has no attribute 'x'<br><br><br>>>> f[0]<br><laspy.util.Point instance at 0x000000000F19CF48><br>>>> f[0].X<br>30839973<br>>>> <br><br>I can have my X value. <br>
<br>Any helps is really appreciate especially to develop a <span class="Apple-converted-space"></span>list comprehension<br><br>Thanks in advance<br>Gianni<br><br><br><br><br>