Francesco, What version of Riscan Pro are you using? The latest should be OK David C Finnegan Research Physical Scientist CRREL --------- Message sent via my BlackBerry Wireless Device
________________________________ From: [email protected] <[email protected]> To: [email protected] <[email protected]> Sent: Sun Apr 03 09:46:26 2011 Subject: [Liblas-devel] liblas throwing an error upon wrong day of the year on "corrupt" LAS file Hello, just thought I'd drop by a note regarding reading a not-well-formed LAS file. I am reading a file exported from RiScanPRO into LAS format, with a bad day of the year tag on the header. When reading with ReaderFactory -> CreateWithStream, Liblas throws an error and exits upon reading the bad date. 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? (I hope I expressed myself correctly). Cheers and thanks for your time, Francesco -- ************************************************** Francesco Pirotti Dep. TESAF CIRGEO – Interdepartmental Research Center on Cartography Photogrammetry Remote Sensing and G.I.S. University of Padova Web: http://www.cirgeo.unipd.it/cirgeo/francescopirotti.htm Email: [email protected] Phone: +39 049 827 2710 Phone: +39 349 55 39 261 **************************************************
_______________________________________________ Liblas-devel mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/liblas-devel
