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

Simplify geometries (verticies) for generated task boundaries #1151

Closed
spwoodcock opened this issue Jan 31, 2024 · 1 comment · Fixed by hotosm/fmtm-splitter#31
Closed

Simplify geometries (verticies) for generated task boundaries #1151

spwoodcock opened this issue Jan 31, 2024 · 1 comment · Fixed by hotosm/fmtm-splitter#31
Labels
bug Something isn't working priority:high Should be addressed as a priority

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Jan 31, 2024

Describe the bug

To Reproduce

  • Create a new project.
  • On the task-splitting page generate the boundaries, then click the button to edit.

Expected behavior

  • Geometries should be simplified on the fly by openlayers (test performance, it should be ok). There is the .simplify(tolerance) method on the Polygon class.
  • It should preserve topology where it exists, i.e. preserve the boundaries.
  • The goal is to reduce the number of vertices present, so that editing is easier.

Screenshots

image

Additional context
Add any other context about the problem here.

@spwoodcock spwoodcock added the bug Something isn't working label Jan 31, 2024
@spwoodcock spwoodcock added this to the FMTM Public Beta milestone Jan 31, 2024
@spwoodcock spwoodcock added the priority:high Should be addressed as a priority label Jan 31, 2024
@spwoodcock spwoodcock changed the title Improve user experience editing generated task boundaries Simplify geometries (verticies) for generated task boundaries Jan 31, 2024
@spwoodcock
Copy link
Member Author

Closing this in favour of hotosm/fmtm-splitter#24
Should be solved in the backend, not frontend (too complicated).
High priority task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high Should be addressed as a priority
Projects
Development

Successfully merging a pull request may close this issue.

1 participant