gicait / geoserver-rest

Python library for management of geospatial data in GeoServer.
https://geoserver-rest.readthedocs.io
MIT License
197 stars 79 forks source link

Create GeoTIFF Datastore/Coveragestore without uploading a file? #148

Open pedro-cf opened 7 months ago

pedro-cf commented 7 months ago

Greetings. Is it possible to create a GeoTIFF Datastore/Coveragestore without having to upload a file? Using a file that is already in the Geoserver?

iamtekson commented 7 months ago

Right now, the functionality is not available. I am open for any PR.

pedro-cf commented 7 months ago

I think this should apply for any fuction that involves uploading, allow the option to merely use a file that is already in geoserver instead of uploading

pedro-cf commented 6 months ago

Greetings @iamtekson

Do you know if the Geoserver REST API allows for the creation of datastores/coveragestores that make use of the COG (Cloud optimized Geotiff) plugin?

If so, this would be a great addition to this feature request!

iamtekson commented 6 months ago

Do you know if the Geoserver REST API allows for the creation of datastores/coveragestores that make use of the COG (Cloud optimized Geotiff) plugin?

I have no idea about this. But found this discussion in the StackOverflow. Seems like, we can integrate that too.

tommasosansone91 commented 4 months ago

Hello, I am also open to work on the development of this feature.

Ponsoda commented 2 weeks ago

Regarding this issue, I added the modifications mentioned on the discussion that @iamtekson mentioned to add the possibility to create coverage stores from remote cog files "But found this discussion in the StackOverflow.".

Unfortunately, I only have access to Google cloud files to test that it is working fine, is it possible that someone test the HTTP, Azure and S3 connexions for me?

This is the repo: https://github.com/Ponsoda/geoserver-rest-cog-coverage-store Some considerations based on the plugin explanations:

⚠️⚠️ Now starts the untested part. The rangeReaderSettings name and the credentials had been assumed by miself based on the documentation, as I couldn't find any information about it.