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

webapp should detect a geometry is a point when exporting to WCMP2 #786

Open
maaikelimper opened this issue Oct 8, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working web application Web application
Milestone

Comments

@maaikelimper
Copy link
Collaborator

As identified by BOM at Fiji training, when a user enters a point geometry in the dataset editor form, WCMP2 ES indexing fails. This is because the geometry is encoded as a polygon. The wis2box-webapp should encode WCMP2 geometry as a Point if minx=maxx and miny=maxy.

@maaikelimper maaikelimper added the bug Something isn't working label Oct 8, 2024
@maaikelimper maaikelimper added this to the sprint-016 milestone Oct 8, 2024
@maaikelimper maaikelimper added the web application Web application label Oct 18, 2024
@maaikelimper
Copy link
Collaborator Author

Or:

  • throw an error in minx=maxx and miny=maxy and refuse to continue
  • automatically add -0.000001 and +0.000001 when values are the same ...

@tomkralidis
Copy link
Collaborator

Someone may really want to encode a point, so we should ensure both Point or Polygon (current/default) as supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working web application Web application
Projects
None yet
Development

No branches or pull requests

4 participants