-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compact ExtraByte VLR v2 #119
Comments
As someone who writes the code to read and write such things, I see no benefit to this. The size in bytes of the extra bytes fields are trivial. |
Additionally, software would have branch to support this additional layout. That equals more complex software that has a chance to break. What is the benefit of adding this other than to save a few bytes? |
The main benefits I see are being able to change the min/max data type from I don't feel strongly about this, but I've had mixed feelings about whether we're allowed to repurpose those first two bytes in the existing ExtraByte VLR descriptor. This would bypass that question. |
Some have also commented in the past whether the |
I would be against removing scale and offset in the |
Consensus seems to be that this provides no benefit. I'm closing this as "won't do" and can be reopened at a later date if a reason comes up. |
The existing ExtraByte descriptor now has a great deal of deprecated and reserved fields, mostly as a result of the deprecation of the double/tuple data types in #1. Each descriptor requires 192 bytes, of which only 108 bytes or so are in use or reserved. We should release a compact ExtraByte Descriptor VLR (v2) that removes the deprecated values we no longer need.
We could also repurpose the first Reserved field as a Standard ExtraByte ID as described in #37.
Note that the new definition could also change the ExtraByte min/max storage to be a
double
to make it consistent with the LAS header's Min/Max XYZ, which we had attempted in #4 but couldn't in a LAS 1.4 Revision.Existing definition:
Proposed new definition (new/modified fields marked with
>
):The text was updated successfully, but these errors were encountered: