can not get las file header vlrs information #273
Labels
Comments
|
Hola @darkclip , thanks for the detailed bug report. If you find time to implement the fix you propose the Pull Request would be more than wellcome. If not I will try to find some time to fix it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


In las file format, vlrs info is crucial to correctly describe point's spatial location.
However, if you try to use pyntcloud.las_header.vlrs, you wouldn't get anything, the value is alway none.
Through your source code, I can see you try to use
data["las_header"] = las.headerBut it can not pass vlrs or evlrs info into new object, because in laspy, vlrs info is dynamically obtained afterwards
vlrs = property(get_vlrs, set_vlrs, None, doc)def get_vlrs(self): return(self.reader.get_vlrs())A simple fix would be add something like
data["las_vlrs"] = las.header.vlrs data["las_evlrs"] = las.header.evlrsPlease fix this issue, otherwise, las file support is equal to none existence.
The text was updated successfully, but these errors were encountered: