Thanks Aitor, change now merged and submitted to svn/trunk.

On 8 January 2015 at 07:30, Aitor Moreno <[email protected]> wrote:

> Hi Robert,
>
> Attached you will find the modified file without the lines which raises
> the exception.
>
> It was tested under 3.2.0, but I don't see any reason it will not work in
> Trunk or any other OSG version.
>
> The 'v' option (verbose) still outputs the header (including the declared
> number of points) and the actual number of points, just in case.
>
> Bye,
>
> On Wed, Jan 7, 2015 at 5:21 PM, Robert Osfield <[email protected]>
> wrote:
>
>> Hi Aitor,
>>
>> If you are happy with a fix could you post a whole modified file as this
>> is the most reliable way for me to QA and merge changes.
>>
>> Thanks,
>> Robert.
>>
>> On 7 January 2015 at 15:50, Aitor Moreno <[email protected]> wrote:
>>
>>> Hi again,
>>>
>>> Using *lasinfo *(included in libLAS), it is clear that the number of
>>> points declared in the header, and the actual number of points can differ.
>>>
>>> (excerpt of the output):
>>>
>>> ---------------------------------------------------------
>>>   Point Inspection Summary
>>> ---------------------------------------------------------
>>>   Header Point Count: *3837973*
>>>   Actual Point Count: *3813697*
>>>
>>> So, the solution should be as easy as removing the exception raise in
>>> the OSG loader. These lines:
>>>
>>>             //if (reader.GetHeader().GetPointRecordsCount() != i)
>>>             //{
>>>             //    return ReadResult::ERROR_IN_READING_FILE;
>>>             //}
>>>
>>>
>>> Bye,
>>>
>>>
>>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>
>>
>
>
> --
> Aitor Moreno
>    aitormoreno [@] gmail.com
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to