[Liblas-devel] invalid point(s)

M S mseibel at gmail.com
Wed Sep 30 14:30:20 EDT 2009


I believe I have a problematic .las file.  It is in the same set as
the other problem children.  All the other .las files were processed
ok with the latest liblas code.

Mateusz:  may I upload this las to your site?

on eliminating classes I get: "Not able to fetch a point.  LASReaderH
is invalid: detail::liblas:: read_n input stream is not readable (3)
from method LASReader_GetNextPoint"

on repair, I get "Problem creating LASWriterH object for append:
Detail::liblas::write_n: output stream is not writable (3) from method
LASWriter_Create"

on the repair it also throws up a bunch of  various messages: "User:
'LASF_Projection' - Description: 'Projection Info'   ID: 102 Length:
64"


Mark
Mark

On Wed, Sep 30, 2009 at 10:02 AM, M S <mseibel at gmail.com> wrote:
> Confirmed fix.  Excellent!
>
> Thanks,
> Mark
>
> On Wed, Sep 30, 2009 at 9:30 AM, M S <mseibel at gmail.com> wrote:
>> I will give the latest source a whirl.  Thanks for the quick feedback.
>>
>> Mark
>>
>> On Wed, Sep 30, 2009 at 8:57 AM, Howard Butler <hobu.inc at gmail.com> wrote:
>>> Here's what lasinfo's output looks like when I use the latest default branch
>>> from Mercurial.  It looks ok to me.  I think the Merrick files were one the
>>> variants that writes a lot of stuff in the buffer between the end of the
>>> header and before the beginning of the points.
>>>
>>> http://liblas.org/ticket/142
>>>
>>> Any chance you can build from source?
>>>
>>>> ---------------------------------------------------------
>>>>  Header Summary
>>>> ---------------------------------------------------------
>>>>  File Name: M_S_FL_Water_District.las
>>>>  Version:                    1.0
>>>>  Source ID:                  0
>>>>  Reserved:                   0
>>>>  Project ID/GUID:           '00000008-001e-07d1-0000-000000000000'
>>>>  System Identifier:         ''
>>>>  Generating Software:       'Merrick LiDAR Processing System'
>>>>  File Creation Day/Year:    264/2006
>>>>  Header Size                227
>>>>  Offset to Point Data       451
>>>>  Number Var. Length Records 1
>>>>  Point Data Format          1
>>>>  Point Data Record Length   28
>>>>  Number of Point Records    4045371
>>>>  Number of Points by Return 3641232 389423 14560 156 0
>>>>  Scale Factor X Y Z         0.01 0.01 0.01
>>>>  Offset X Y Z               0.000000 0.000000 0.000000
>>>>  Min X Y Z                  620000.010000 1055000.000000 31.420000
>>>>  Max X Y Z                  625000.000000 1060000.000000 560.500000
>>>>  Spatial Reference
>>>> Geotiff_Information:
>>>>   Version: 1
>>>>   Key_Revision: 1.0
>>>>   Tagged_Information:
>>>>      End_Of_Tags.
>>>>   Keyed_Information:
>>>>      End_Of_Keys.
>>>>   End_Of_Geotiff.
>>>>
>>>> ---------------------------------------------------------
>>>>  VLR Summary
>>>> ---------------------------------------------------------
>>>>   User: 'LASF_Projection' - Description: 'Projection Info'
>>>>   ID: 34736 Length: 40
>>>>
>>>>
>>>> ---------------------------------------------------------
>>>>  Point Inspection Summary
>>>> ---------------------------------------------------------
>>>>  Header Point Count: 4045371
>>>>  Actual Point Count: 4045371
>>>>
>>>>  Minimum and Maximum Attributes (min,max)
>>>> ---------------------------------------------------------
>>>>  Min X,Y,Z:            620000.010000,1055000.000000,31.420000
>>>>  Max X,Y,Z:            625000.000000,1060000.000000,560.500000
>>>>  Bounding Box:         620000.01,1055000.00,625000.00,1060000.00
>>>>  Time:                 566520.403957,570126.967477
>>>>  Return Number:        1,4
>>>>  Return Count:         1,4
>>>>  Flightline Edge:      0,0
>>>>  Intensity:            0,244
>>>>  Scan Direction Flag:  0,1
>>>>  Scan Angle Rank:      -15,16
>>>>  Classification:       1,10
>>>>  Point Source Id:      235,237
>>>>  Minimum Color:         0 0 0
>>>>  Maximum Color:         0 0 0
>>>>
>>>>  Number of Points by Return
>>>> ---------------------------------------------------------
>>>>        (0) 3641232     (1) 389423      (2) 14560       (3) 156 (4) 0
>>>>  Total Points: 4045371
>>>>
>>>>  Number of Returns by Pulse
>>>> ---------------------------------------------------------
>>>>        (1) 3247914     (2) 750421      (3) 46171       (4) 865 (5) 0   (6)
>>>> 0   (7) 0
>>>>  Total Pulses: 4045371
>>>>
>>>>  Point Classifications
>>>> ---------------------------------------------------------
>>>>         3897935 Unclassified (1)
>>>>          138167 Ground (2)
>>>>             133 Water (9)
>>>>            9136 Reserved for ASPRS Definition (10)
>>>>
>>>
>>>
>>
>


More information about the Liblas-devel mailing list