Skip to content
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 lasversionconvert script #329

Merged
merged 1 commit into from May 9, 2020
Merged

Add lasversionconvert script #329

merged 1 commit into from May 9, 2020

Conversation

kinverarity1
Copy link
Owner

This PR fixes #31 by implementing a command line script lasversionconvert:

C:\>lasversionconvert --help
usage: Convert LAS file version [-h] [-t TO] [--overwrite] [-i] input output

positional arguments:
  input
  output

optional arguments:
  -h, --help            show this help message and exit
  -t TO, --to TO        Version to convert to (default: 2)
  --overwrite           Overwrite output file if it already exists (default:
                        False)
  -i, --ignore-header-errors
                        Ignore header section errors. (default: False)

@kinverarity1 kinverarity1 requested a review from dagrha May 8, 2020 07:58
Copy link
Collaborator

@dagrha dagrha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Pip installed this branch to a fresh python 3.8.2 venv. Wish I had something to report but the script works flawlessly. 👍

@kinverarity1 kinverarity1 merged commit a383a23 into master May 9, 2020
@kinverarity1 kinverarity1 deleted the lasversionconvert branch May 12, 2020 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

script to convert from 1.2 to 2.0
2 participants