chadrockey / TGC-Designer-Tools

Tools to support course creation and Lidar/Terrain Creation in The Golf Club 2019.
Apache License 2.0
45 stars 28 forks source link

Support 1.4 version of lidar files #6

Closed chadrockey closed 5 years ago

chadrockey commented 5 years ago

As reported here:

https://www.reddit.com/r/thegolfclub/comments/ao2ezf/introducing_open_tools_for_tgc_designer_and_real/egck5ai/

struct.error: unpack requires a buffer of 2 bytes

These files appear to be 1.4 and are an occurrence of this bug:

https://github.com/laspy/laspy/issues/91

I'll look into the suggested fix and either fork or fix laspy upstream.

chadrockey commented 5 years ago

I fixed this upstream:

https://github.com/laspy/laspy/pull/98