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 maputils function to fully pixelate a coordinate path #6840
Conversation
d006ac8
to
bccabef
Compare
143b742
to
a694162
Compare
a694162
to
0086bac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The plot showing the comparison of the two approaches in the first comment could make a good "How-to-Guide" entry.
Er, I'd say an "explanation" page. The how-to guide would just say how to pick different line algorithms. |
Failure looks like a example broken for pandas 2.0. |
This PR adds a new maputils function –
pixelate_coord_path()
– that fully pixelates a coordinate path.extract_along_coord()
tries to do that, but has issues (see #6826 and #6802). Here's a comparison of the pixel paths:TODO:
extract_along_coord()