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] <mailto:[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