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

Faster polygon and line extract #637

Closed
rafaqz opened this issue Apr 18, 2024 · 0 comments · Fixed by #638
Closed

Faster polygon and line extract #637

rafaqz opened this issue Apr 18, 2024 · 0 comments · Fixed by #638

Comments

@rafaqz
Copy link
Owner

rafaqz commented Apr 18, 2024

Currently extract is very badly optimised for lines, and also pretty slow for polygons.

Rather than rasterizing the whole raster and reading it, it should just push values to a vector as it goes.

The actual rasterization doesn't even appear in the profile, so there is maybe a few order of magnitude available here.

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 a pull request may close this issue.

1 participant