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

Issue 180: add vector upload #260

Merged
merged 18 commits into from
Oct 13, 2021
Merged

Issue 180: add vector upload #260

merged 18 commits into from
Oct 13, 2021

Conversation

anikaweinmann
Copy link
Member

@anikaweinmann anikaweinmann commented Oct 6, 2021

Add support to upload a vector layer via the endpoint /locations/{location}/mapsets/{mapset}/vector_layers/{vectorlayer} (#180).
The vector formats GPKG, GeoJSON and a zipped Shapefile is supported.

An example request is:

curl -L -u 'actinia-gdi:actinia-gdi' -X POST -H "Content-Type: multipart/form-data" -F "file=@/home/....zip" http://localhost:8088/api/v1/locations/nc_spm_08/mapsets/test_mapset/vector_layers/testvector

Developed with @griembauer

Copy link
Member

@mmacata mmacata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for that! And also for the detailed tests :)

Copy link
Member

@juleshaas juleshaas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Maybe @mmacata can have a deeper look? -> You were faster than me :)

Co-authored-by: Marc Jansen <jansen@terrestris.de>
@anikaweinmann anikaweinmann merged commit 08c4f84 into main Oct 13, 2021
@anikaweinmann anikaweinmann deleted the issue180_vector branch October 25, 2022 11:32
@mmacata mmacata added this to the 2.0.0 milestone Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants