[pdal] In two LAZ files "WARNING: files have different point types: 3 vs 7"
Ulises Ibarra
ulisesmartinibarra at gmail.com
Wed Apr 3 18:07:26 PDT 2024
Hello again: It is my mistake.
I apologize with you, I have identified the origin of the problem, my
clumsiness:
I did something like this: lasview *1*.laz, thinking that it was going to
show me only two LAZ files out of many that a folder contains, but there is
a "1" in all the files, so it took one of them whose extension is "
copc.laz", and it is this file that has a difference in the values that I
previously showed you:
"compressed": true,
"copc": true,
"copc_info":
{
"center_x": 580870.5205,
"center_y": 3596336.288,
"center_z": 3908.8785,
"gpstime_maximum": 1.691216388e-306,
"gpstime_minimum": 392153449.3,
"halfsize": 2701.4855,
"root_hier_offset": 1795993,
"root_hier_size": 128,
"spacing": 42.21071094
},
"count": 130872,
"creation_doy": 1,
"creation_year": 1,
"dataformat_id": 7,
"dataoffset": 1342,
"filesource_id": 0,
"global_encoding": 16,
"global_encoding_base64": "EAA=",
"header_size": 375,
"major_version": 1,
"maxx": 583572.006,
"maxy": 3596810.044,
"maxz": 1317.599,
"minor_version": 4,
"minx": 578169.035,
"miny": 3593634.802,
"minz": 1207.393,
"offset_x": 580870.52,
"offset_y": 3595222.423,
"offset_z": 1262.495,
"point_length": 36,
"project_id": "00000000-0000-0000-0000-000000000000",
"scale_x": 0.001,
"scale_y": 0.001,
"scale_z": 0.001,
"software_id": "",
There is the: "dataformat_id": 7, and " "point_length": 36, "
Sorry and Thank you
El mié, 3 abr 2024 a las 14:21, Ulises Ibarra (<ulisesmartinibarra at gmail.com>)
escribió:
> Hi Andrew, thank you.
>
> In the input.laz file I have:
> "header_size": 227,
> "major_version": 1,
> "maxx": 583635.928,
> "maxy": 3596868.333,
> "maxz": 1353.431,
> "minor_version": 2,
> "minx": 578122.935,
> "miny": 3593497.807,
> "minz": 1240.855,
> "offset_x": 570000,
> "offset_y": 3590000,
> "offset_z": 0,
> "point_length": 34,
> "project_id": "00000000-0000-0000-0000-000000000000",
> "scale_x": 0.001,
> "scale_y": 0.001,
> "scale_z": 0.001,
> "software_id": "PDAL 2.7.1 (Releas)",
>
> But in the output.laz file I have:
> "header_size": 227,
> "major_version": 1,
> "maxx": 583635.928,
> "maxy": 3596868.333,
> "maxz": 1318.891,
> "minor_version": 2,
> "minx": 578122.935,
> "miny": 3593497.807,
> "minz": 1206.324,
> "offset_x": 570000,
> "offset_y": 3590000,
> "offset_z": 0,
> "point_length": 34,
> "project_id": "00000000-0000-0000-0000-000000000000",
> "scale_x": 0.001,
> "scale_y": 0.001,
> "scale_z": 0.001,
> "software_id": "lasmerge (version 191018)",
>
> I mean: the same! "point_length": 34 " --> 🥺
>
>
> El mié, 3 abr 2024 a las 14:08, Andrew Bell (<andrew.bell.ia at gmail.com>)
> escribió:
>
>> The "point_length" entry in the metadata should show you what you want.
>> Perhaps one of the files contains extra bytes fields.
>>
>> On Wed, Apr 3, 2024 at 4:03 PM Ulises Ibarra via pdal <
>> pdal at lists.osgeo.org> wrote:
>>
>>> Hello:
>>>
>>> When I applied a transformation to a file from
>>> input_EPSG32611+Ellipsoidal_height.laz to output_EPSG32611+5703.laz and
>>> want to display both files using lasview, I am informed of an alert:
>>>
>>> C:\LAStools\bin>lasview \clouds\PATH\*1*.laz
>>> WARNING: files have different point types: 3 vs 7
>>> WARNING: files have different point sizes: 34 vs 36
>>>
>>> But if I get the information of both files with "pdal info --metadata
>>> file.laz", they both indicate:
>>>
>>> "dataformat_id": 3,
>>>
>>> and I don't find any information regarding "point sizes"
>>>
>>> Questions (I clarify that the version of the LAS file is 1.2):
>>> 1. How could I fix these two problems?
>>> 2. Are they really a problem?
>>> 3. Are "point type" and "dataformat_id" two different things?
>>>
>>> Best regards
>>>
>>> Ulises Ibarra
>>> _______________________________________________
>>> pdal mailing list
>>> pdal at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/pdal
>>>
>>
>>
>> --
>> Andrew Bell
>> andrew.bell.ia at gmail.com
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20240403/2ad7044b/attachment-0001.htm>
More information about the pdal
mailing list