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 'binmode' to writers.gdal to support non-interpolated rasters #3215 #3840

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

hobu
Copy link
Member

@hobu hobu commented Aug 10, 2022

No description provided.

@hobu hobu added this to the 2.5.0 milestone Aug 10, 2022
@hobu hobu added the feature label Aug 10, 2022
@hobu
Copy link
Member Author

hobu commented Aug 10, 2022

Here's the distinction in count between "bin" mode and "distance" mode. In distance mode, writers.gdal interpolates to the range, and this includes counting points that influence that. In bin mode, it only counts points that are inside the bin. The latter is useful for stuff like lasgrid operations and rasterization of categorical data like Classification.

distance
bin

@adamsteer
Copy link
Contributor

this is fantastic - directly useful, especially thinking about some old forest canopy structure work. Thanks!

@hobu hobu merged commit e243a67 into master Aug 11, 2022
@hobu hobu deleted the writers.gdal-binmode branch August 11, 2022 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants