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 EPT reader support to read_lidar function #9

Merged
merged 6 commits into from
Sep 29, 2024
Merged

Conversation

iosefa
Copy link
Owner

@iosefa iosefa commented Sep 26, 2024

Extended the read_lidar function to support 'ept.json' file types by recognizing the EPT reader. Also included a new 'bounds' parameter for spatial cropping and streamlined the pipeline building process for better maintenance. Updated tests to match the new validation error message.

ref: #8

@iosefa iosefa self-assigned this Sep 26, 2024
@iosefa iosefa requested a review from benleamon September 26, 2024 11:24
Extended the read_lidar function to support 'ept.json' file types by recognizing the EPT reader. Also included a new 'bounds' parameter for spatial cropping and streamlined the pipeline building process for better maintenance. Updated tests to match the new validation error message.
Allow the `poly` parameter to accept either a file path or directly a WKT string for defining the polygon geometry used in cropping. This enhancement simplifies user input by recognizing and processing WKT strings directly.
Change the term from Frequency Histogram Diversity to Foliage Height Diversity for clarity. Enhanced function documentation to better explain the input parameters and the output format while highlighting areas with no voxel returns resulting in NaN values.
This change updates the version of the pyforestscan package to 0.1.7. The increment signifies minor improvements or fixes in the package.
Simplified the validation logic for polygon input when cropping to a polygon. Now, the code clearly separates the responsibilities of checking for provided polygons and verifying file existence, improving readability and maintainability.
These changes ensure that the reprojection filter correctly identifies the input SRS with the `in_srs` parameter. Additionally, specifying `minor_version` in the output step aligns the format with expected versioning.
Copy link
Collaborator

@benleamon benleamon left a comment

Choose a reason for hiding this comment

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

Looks great!

@iosefa iosefa merged commit 1c8e305 into main Sep 29, 2024
1 check passed
@iosefa iosefa deleted the feat/read-ept branch September 29, 2024 21:08
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.

2 participants