<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks for all answers.<br>
@David - my version is 1.5.5 should be quite recent.<br>
Anyhow the problem was easily solved by changing the code in
header.cpp<br>
Ciao<br>
Francesco<br>
<br>
Il 03/04/2011 16:48, Finnegan, David ERDC-CRREL-NH ha scritto:
<blockquote
cite="mid:5F04AA2875471D4986E47764FDC66CB114F07C@ERD-ML4ERD.erd.ds.usace.army.mil"
type="cite">
<title></title>
<div><font color="navy" face="Arial" size="2">
Francesco,<br>
<br>
What version of Riscan Pro are you using? The latest should be
OK
<br>
David C Finnegan
<br>
Research Physical Scientist
<br>
CRREL
<br>
---------
<br>
Message sent via my BlackBerry Wireless Device
<br>
</font></div>
<br>
<div>
<hr tabindex="-1" width="100%" align="center" size="2">
<font face="Tahoma" size="2">
<b>From</b>: <a class="moz-txt-link-abbreviated" href="mailto:liblas-devel-bounces@lists.osgeo.org">liblas-devel-bounces@lists.osgeo.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:liblas-devel-bounces@lists.osgeo.org"><liblas-devel-bounces@lists.osgeo.org></a>
<br>
<b>To</b>: <a class="moz-txt-link-abbreviated" href="mailto:liblas-devel@lists.osgeo.org">liblas-devel@lists.osgeo.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:liblas-devel@lists.osgeo.org"><liblas-devel@lists.osgeo.org></a>
<br>
<b>Sent</b>: Sun Apr 03 09:46:26 2011<br>
<b>Subject</b>: [Liblas-devel] liblas throwing an error upon
wrong day of the year on "corrupt" LAS file
<br>
</font><br>
</div>
Hello, just thought I'd drop by a note regarding reading a
not-well-formed LAS file.<br>
I am reading a file exported from RiScanPRO into LAS format, with
a bad day of the year tag on the header. <br>
When reading with ReaderFactory -> CreateWithStream, Liblas
throws an error and exits upon reading the bad date. <br>
So I hacked the liblas to send a message but not throw an error,
so my code keeps going. Am I an ignoramous coder and there are
ways of ignoring a thrown error somewhat, or isn't it better to
keep from throwing an error upon such non-fatal problem as a wrong
date format?<br>
(I hope I expressed myself correctly).<br>
Cheers and thanks for your time,<br>
Francesco<br>
<div class="moz-signature">-- <br>
<font face="Arial, Helvetica, sans-serif" size="-1">
**************************************************<br>
<b>Francesco Pirotti</b> <br>
Dep. TESAF <br>
CIRGEO – Interdepartmental Research Center on Cartography
Photogrammetry <br>
Remote Sensing and G.I.S. <br>
University of Padova <br>
Web: <a moz-do-not-send="true"
href="http://www.cirgeo.unipd.it/cirgeo/francescopirotti.htm">http://www.cirgeo.unipd.it/cirgeo/francescopirotti.htm</a>
<br>
Email: <a moz-do-not-send="true"
href="mailto:francesco.pirotti@unipd.it">francesco.pirotti@unipd.it</a>
<br>
Phone: +39 049 827 2710 <br>
Phone: +39 349 55 39 261<br>
************************************************** </font></div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font face="Arial, Helvetica, sans-serif" size="-1">
**************************************************<br>
<b>Francesco Pirotti</b> <br>
Dep. TESAF <br>
CIRGEO – Interdepartmental Research Center on Cartography
Photogrammetry <br>
Remote Sensing and G.I.S. <br>
University of Padova <br>
Web: <a
href="http://www.cirgeo.unipd.it/cirgeo/francescopirotti.htm">http://www.cirgeo.unipd.it/cirgeo/francescopirotti.htm</a>
<br>
Email: <a href="mailto:francesco.pirotti@unipd.it">francesco.pirotti@unipd.it</a>
<br>
Phone: +39 049 827 2710 <br>
Phone: +39 349 55 39 261<br>
**************************************************
</font></div>
</body>
</html>