<br><font size=2 face="sans-serif">Stanley,</font>
<br><font size=2 face="sans-serif">        What
do you get as output for point source id if you dump one of your las files
to comma separated text?  </font><a href=http://liblas.org/utilities/las2txt.html><font size=2 face="sans-serif">http://liblas.org/utilities/las2txt.html
 .  I ask because I have seen several las files that have been
missing parts :-)</font></a>
<br>
<br><font size=2 face="sans-serif">Doug</font>
<br>
<br><font size=2 face="sans-serif">Doug Newcomb        
    <br>
USFWS<br>
Raleigh, NC<br>
919-856-4520 ext. 14 doug_newcomb@fws.gov<br>
---------------------------------------------------------------------------------------------------------<br>
The opinions I express are my own and are not representative of the official
policy of the U.S.Fish and Wildlife Service or Dept. of the Interior.  
Life is too short for undocumented, proprietary data formats.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Stanley Wong <s.wong@kucerainternational.com></b>
</font>
<br><font size=1 face="sans-serif">Sent by: liblas-devel-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">06/05/2012 12:43 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"Liblas-devel@lists.osgeo.org"
<liblas-devel@lists.osgeo.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Liblas-devel] problem accessing point_source_id
using Python API</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">Hi,</font>
<br>
<br><font size=2 face="Arial">I am trying to read point_source_id of lidar
points using Python API like below:</font>
<br>
<br><font size=2 face="Courier New">inLas = liblas.file.File(r'<path>\test.las',None,
'r')</font>
<br><font size=2 face="Courier New">pt = inLas[0]</font>
<br><font size=2 face="Courier New">print pt.point_source_id</font>
<br>
<br>
<br><font size=2 face="Arial">I keep getting value 0 on the point_source_id
values in all the files I tested.   No problem on getting all other
properties of Point, just not point_source_id.  I confirmed that the
point source values are assigned in those LAS files using other software
(LP360 and TerraSolid).</font>
<br>
<br><font size=2 face="Arial">I have 2 liblas python installation on Windows
7, 1.7.0-2 from OSGeo4W, and 1.6.0 from pypi.python.org.  Both gave
me the same results.</font>
<br>
<br><font size=2 face="Arial">Can someone please let me know if this is
a liblas setup problem, a bug on Python API, or simply wrong code on my
part?</font>
<br>
<br><font size=2 face="Arial">Thanks,</font>
<br>
<br><font size=2 face="Arial">Stanley</font><tt><font size=2>_______________________________________________<br>
Liblas-devel mailing list<br>
Liblas-devel@lists.osgeo.org<br>
</font></tt><a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel"><tt><font size=2>http://lists.osgeo.org/mailman/listinfo/liblas-devel<br>
</font></tt></a>
<br>