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 RemoveRepeatedPoints #390

Open
peterstace opened this issue Jul 18, 2021 · 1 comment
Open

Add RemoveRepeatedPoints #390

peterstace opened this issue Jul 18, 2021 · 1 comment
Assignees
Labels
algorithm These are the fun tickets :-) feature New feature or request

Comments

@peterstace
Copy link
Owner

peterstace commented Jul 18, 2021

  • Add new methods RemoveRepeatedPoints() T to MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection and Geometry. T should be the type that the method is implemented on.
  • We don't need to add it to Point because Points cannot have repeated points.
  • The method should remove any repeated points in rings (for Polygon/MultiPolygon)
  • The method should remove any repeated points in linestrings (for LineString/MultiLineString)
  • The method should removed any duplicated points in MultiPoint (even if they're not adjacent).
  • It should operate recursively on the Geometry and GeometryCollection types.
@peterstace peterstace added algorithm These are the fun tickets :-) feature New feature or request labels Jul 18, 2021
@peterstace peterstace self-assigned this Nov 20, 2021
@peterstace
Copy link
Owner Author

I've got a WIP for this in remove_repeated_points, but I'm running into significant problems with the GEOS comparison tests. I'll park this for now and come back later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algorithm These are the fun tickets :-) feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant