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

Local GeoTIFF import #216

Merged
merged 9 commits into from
Jun 2, 2021
Merged

Local GeoTIFF import #216

merged 9 commits into from
Jun 2, 2021

Conversation

anikaweinmann
Copy link
Member

This pull requests replaces the function of the endpoint /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}. Before it "Create a new raster layer using r.mapcalc expression in a specific" and now you can upload a GeoTIFF by this endpoint with e.g.:

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

Developed with @griembauer

@anikaweinmann anikaweinmann marked this pull request as ready for review June 2, 2021 05:53
@anikaweinmann anikaweinmann changed the title WIP: Local GeoTIFF import Local GeoTIFF import Jun 2, 2021
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.

Good job and very usefull feature!

src/actinia_core/core/utils.py Outdated Show resolved Hide resolved
src/actinia_core/rest/raster_layer.py Show resolved Hide resolved
src/actinia_core/rest/raster_layer.py Outdated Show resolved Hide resolved
src/actinia_core/rest/raster_layer.py Show resolved Hide resolved
src/actinia_core/rest/resource_base.py Outdated Show resolved Hide resolved
src/actinia_core/rest/raster_layer.py Show resolved Hide resolved
anikaweinmann added 2 commits June 2, 2021 10:23
@anikaweinmann anikaweinmann merged commit 4565f8b into main Jun 2, 2021
@mmacata mmacata deleted the local_file_import branch August 10, 2021 14:23
@mmacata mmacata added this to the 1.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.

2 participants