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

[Export job data] Allow data to be exported as GeoJSON #2013

Open
jo-spek opened this issue Sep 5, 2024 · 12 comments
Open

[Export job data] Allow data to be exported as GeoJSON #2013

jo-spek opened this issue Sep 5, 2024 · 12 comments
Assignees
Labels
type: fr Request for new feature ux needed Product input from PM/UX needed web Angular implementation of Web UI
Milestone

Comments

@jo-spek
Copy link
Collaborator

jo-spek commented Sep 5, 2024

Currently, the data export "Download job data" delivers a CSV. It would be great to also have the option to download the job data as GeoJSONs.

Users that want to display their recorded geodata in a GIS need to do extra steps to draw the WKT notation from the CSV, whereas a GeoJSON can simply be dragged and dropped into any GIS. Also, regarding the EUDR aspect, the EU Information System is set to accept only GeoJSONs containing the geometries, the ISO2 country code and a few optional columns.

Thanks for considering.

@jo-spek jo-spek added type: fr Request for new feature web Angular implementation of Web UI labels Sep 5, 2024
@jo-spek
Copy link
Collaborator Author

jo-spek commented Dec 5, 2024

Hi @kenstershiro, connecting to yesterday's chat, we have consensus that this needs doing. We could push this to P1 or even P0, or what do you suggest @rfontanarosa?

@jo-spek
Copy link
Collaborator Author

jo-spek commented Dec 5, 2024

While we're at it, we could automatically add the columns required for upload in the EU Information System, i.e.:
"ProducerName" (can be left empty), "ProducerCountry" (mandatory ISO2 country code), "ProductionPlace" (can be filled with the name given to the geometry), and "Area" (hectares for polygons, empty for points). --> This is a nice to have, no high priority.

Split off into this FR: #2123

@kenstershiro kenstershiro added the for pm/ux review Product decision needed label Dec 5, 2024
@kenstershiro
Copy link
Collaborator

@jo-spek to set the priority and whether to pull it into the current or next sprint, it would be good to understand better the use cases for geojson data, and how important and urgent they are. It doesn't sound like a P0 which usually means a blocking issue or bug or something essential with a tight deadline. Let's chat tomorrow on our call.

@kenstershiro kenstershiro moved this to Todo in Ground Dec 6, 2024
@kenstershiro kenstershiro added this to the GA release milestone Dec 6, 2024
@kenstershiro
Copy link
Collaborator

kenstershiro commented Dec 6, 2024

After internal discussion agreed on the high priority and usefulness of this new feature. Dev can kick off as soon as we have capacity. Small UX input needed in parallel on nav links and terms to use for the additional download option. e.g.
"Download full survey results"
"Download geodata"
OR
Download survey results (CSV)
Download geodata only (GeoJSON)

@kenstershiro kenstershiro added the ux needed Product input from PM/UX needed label Dec 6, 2024
@kenstershiro
Copy link
Collaborator

@jo-spek to split into two tasks:

  1. geojson export - Must have (P0.5)
  2. creation of properties needed for EU Information System compatibility: "ProducerName" (can be left empty), "ProducerCountry" (mandatory ISO2 country code), "ProductionPlace" (can be filled with the name given to the geometry), and "Area" (hectares for polygons, empty for points).
  3. Second point needs further discussion offline @rfontanarosa @gino-m @jo-spek

@kenstershiro kenstershiro removed the for pm/ux review Product decision needed label Dec 13, 2024
@gino-m gino-m changed the title Export geometries as GeoJSON [Export job data] Allow data to be exported as GeoJSON Dec 13, 2024
@gino-m
Copy link
Collaborator

gino-m commented Dec 13, 2024

@vittorino for how to allow user to select between CSV vs GeoJSON

@jo-spek
Copy link
Collaborator Author

jo-spek commented Dec 13, 2024

@jo-spek to split into two tasks:

2. creation of properties needed for EU Information System compatibility: "ProducerName" (can be left empty), "ProducerCountry" (mandatory ISO2 country code), "ProductionPlace" (can be filled with the name given to the geometry), and "Area" (hectares for polygons, empty for points).

Done. 2 to be found here: #2123

@jo-spek
Copy link
Collaborator Author

jo-spek commented Dec 13, 2024

@vittorino for how to allow user to select between CSV vs GeoJSON

Low quality suggestion since it's already been created:

Image

Could probably look a lot nicer still.

@vittorino
Copy link

@gino-m here's my recommendation:
Image

@gino-m
Copy link
Collaborator

gino-m commented Dec 15, 2024

Thanks! They will both download the same job data, just in different formats. In that case would it make sense to just have one menu option and prompt in a dialog?

@kenstershiro
Copy link
Collaborator

For implementation there's a dependency on completing the PR for streaming data #2091

@gino-m
Copy link
Collaborator

gino-m commented Dec 18, 2024

@vittorino @rfontanarosa Updated based on our discussion:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: fr Request for new feature ux needed Product input from PM/UX needed web Angular implementation of Web UI
Projects
Status: Todo
Development

No branches or pull requests

5 participants