las-js
las-js copied to clipboard
[BUG]: unnecessary digits in property description
Describe the bug
Using the example1.las file provided in sample files. When I run myLas.curveParams
, the description entries in the object returned have "1 Property Description" instead of just "Property Description".
To Reproduce Steps to reproduce the behavior:
- Import
las-js
- Run
myLas.curveParams()
with example1.las file - Property field return looks "1 Property Description" instead of just "Property Description".
Expected behavior property fields should not be like "1 Property Description" rather "Property Description".
Desktop (please complete the following information):
- OS: MacOS
- Version 3.1.5
- Node Version 12.x
Suggestion
description
in line 347 index.ts should be checked to see if it contains this unnecessary digit(s) and replaced with empty string.
A fix for this can is currently present in las-go