Ouranosinc / PAVICS-frontend

PAVICS Frontend Platform
MIT License
6 stars 2 forks source link

Upload drawn features layer to geoserver #143

Open Renaud009 opened 6 years ago

Renaud009 commented 6 years ago

User can now create a custom layer and draw his own features (2d geometry) for future works image

A) We need to define layer format: geopackage ?

B) Should geoserver be in charge of writing the geopackage (or other format)?

C) Could be interesting to be able to load user's geopackage desktop file before uploading it

D) We need to define what simple routes and data management strategies must be chosen for geoserver

@huard @Zeitsperre Ideas are welcome

Zeitsperre commented 6 years ago

Cool! I'll post ideas in a bit.

huard commented 6 years ago

Très chouette ! I'm lacking even a basic understanding of geopackage, so my intuition is not worth much. I understand that native geopackage support in the browser is not a given. If that is so, but geopackage is the leading default format, can we let geoserver handle all geopackage "transactions" ? So uploads would go to geoserver, then back to the client. UI-defined shapes would be sent as simple GML or json format, then converted by geoserver to geopackage. That's what you're proposing right ? Sounds reasonable to me.

Renaud009 commented 6 years ago

Not entirely sure it's possible and how to archieve this with geoserver but that's currently the plan. Point C) is a really useless idea (and an overhead of code) but could be an option we want to edit features after the upload by directly modifying the geopackage itself.

huard commented 6 years ago

Sounds like a nice to have for the far future.