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
readers.pts doesn't deal with unexpected characters in field names #1508
Comments
Here are the first 8 lines (second line is number of points) :
|
The text reader uses the first non-alpha numeric character found on the first line as a delimiter. All other characters are valid and used to make the field name. In the case of the example in the above note, the '/' character is used as the delimiter, which creates a single dimension with the name I'll try to clarify the documentation and add a command-line option to allow you to explicitly set the delimiter. |
He has no way to update because this is a .pts file and he doesn't control the output. |
What is a pts file? Perhaps we need a pts reader if we want to support this. And we need to understand the format if we're going to do this. |
yet another ascii point cloud format. We have a reader, https://www.pdal.io/stages/readers.pts.html and I simply used the |
Awaiting details on the format of a PTS file. |
@Poux-Florent : What software were you using that generated the file that you provided above? |
@abellgithub : I was using at this time CloudCompare (batch export can only generate ASCII files readable by PDAL) |
Can CloudCompare write LAS/LAZ? Those would be readable by PDAL (and much smaller!) |
@hobu : Yes it can, but unfortunately, not as a batch export (I often have thousands of point clouds, exporting them without one by one manual operation can only be done in ASCII format) |
Which format are they in that only CloudCompare can read them and batch? |
I am not sure I understood correctly, but in CloudCompare it is a binary format .bin that necessitate libraries from CloudCompare to be readable |
PTS uses
readers.text
, and users can name the dimensions whatever they want. We need to strip out and normalize characters we can't consume in field names like=
's and.
's.The text was updated successfully, but these errors were encountered: