Hi list,
I am trying to add a geopackage to my geoserver instance via the REST
interface, these are my
lines:
First I create the Coverage store:
curl -v -u %login% -POST -H "Content-type: application/json" -d
"{"coverageStore":{"name":"Sentinel_2","workspace":"%wsname40%"}}"
"%url%%ws40%/coveragestores/"
Then I try to add the Geopackage to the Coverage store (the datasource has
to be external - upload is not possible):
curl -v -u %login% -PUT -H "Content-type: application/json" -d
"{"url":"file://%sentinel%/s2cloudless-2019_3857_v1.0.0.gpkg"}"
"%url%%ws40%/coveragestores/Sentinel_2/external.geopackage (mosaic)"
I think the problem are the parenthesis and the space in
"external.geopackage
(mosaic)" - any ideas?
I also found this thread but it did not really help me:
http://osgeo-org.1560.x6.nabble.com/GeoPackage-tiles-store-via-GeoServer-REST-td5374957.html
Cheers, Niko
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users