<br><div class="gmail_quote"><div class="gmail_quote"><div class="Ih2E3d"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am using libLAS via the .NET bindings.<br>
<br>
When I make the following calls:<br>
byte lasVersionMajor = lasReader.GetHeader().VersionMajor;<br>
byte lasVersionMinor = lasReader.GetHeader().VersionMinor;<br>
if ((lasVersionMajor != 1) || (lasVersionMinor > 1)) {<br>
throw new DataFlowException("Incompatible file version. This reader supports v1.0 and v1.1 LAS files only.");<br>
}<br>
<br>
I sometimes get zeros for VersionMajor and VersionMinor, other times the same file works fine and these version numbers are correct. Any ideas why these calls do not return consistent results?</blockquote></div><div><br>
Yes, this sounds very strange. I will try it this tonight.<br>
</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Thanks<br>
Steve<br>
************************<br>
Steve Harwin<br>
Senior Software Engineer<br>
Eonfusion & Landscape Mapper<br>
Myriax Pty Ltd<br>
<br>
_______________________________________________<br>
Liblas-devel mailing list<br>
<a href="mailto:Liblas-devel@lists.osgeo.org" target="_blank">Liblas-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/liblas-devel</a><br>
</blockquote></div></div><br>
</div><br>