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

Roaring landmask #1

Open
gauteh opened this issue Apr 5, 2023 · 2 comments
Open

Roaring landmask #1

gauteh opened this issue Apr 5, 2023 · 2 comments

Comments

@gauteh
Copy link

gauteh commented Apr 5, 2023

Came across this, you might be interested in https://github.com/gauteh/roaring-landmask

@ssempervirens
Copy link
Owner

ssempervirens commented May 1, 2023

Thanks for pointing this out! Just looking at this now. This is a cool approach, and really like the additional checking if close to shoreline. I'm hoping this project will also include inland bodies of water, too, so that's one big difference. Thanks for sharing.

@gauteh
Copy link
Author

gauteh commented May 1, 2023

Nice👍 Roaring should as well, if the shapes still have inland bodies. Can't quite remember if I removed those. It uses the mask to determine if the point is in the water. Any blue pixel is always completely in the water, but the inverse is not true - and checked against the polygons.

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

No branches or pull requests

2 participants