Hello Jonathan,
Thanks for the pointer, I've now tried out the cURL examples and the
sample data provided was a-ok.
Now, I want to upload a folder of .png+.pgw+.prj in a certain coverage
store, then make a layerGroup of the individual .png layer but am
running to problems.
1. uploading folder of worldimage doesn't seem to work
curl -v -u admin:geoserver -XPUT -H "Content-type: text/plain" -d
"file:///path/.../"
"http://localhost:8080/geoserver/rest/workspaces/.../coveragestores/.../external.worldimage?configure=all"
"500 Internal Service Error"
Error auto-configuring converage: No input stream for the provided source
2. uploading .zip of the folder only results in one image loading
curl -v -u admin:geoserver -XPUT -H "Content-type: application/zip"
--data-binary @zipFile.zip
http://localhost:8080/geoserver/rest/workspaces/.../coveragestores/../file.worldimage?configure=a;;
Only uploads one image in the zipped folder.
---
I am wondering if the cURL commands are wrong?
Regards,
Matthew
On 2016-01-18 1:35 AM, Jonathan wrote:
Hi Matthew,
I believe you should be able to do this with the REST API -
http://docs.geoserver.org/stable/en/user/rest/api/index.html -
probably the Coverage Stores section.
There was a recent thread about it, although it may have gone in a
direction that's not useful for you:
http://osgeo-org.1560.x6.nabble.com/REST-API-creating-of-a-composite-layer-quot-Layer-Group-quot-td5245038.htmlCheers,
JonathanOn 15/01/2016 18:23, Matthew Fung wrote:
Greetings,
I have a bunch of geo-referenced .png files that I would like to add to
geoserver.
They are hourly photos. So far, individual uploads work, but I am
wondering
if I can upload groups of .png organized by day?Regards,
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Import-image-files-png-pgw-tp5245591.html
Sent from the GeoServer - User mailing list archive at Nabble.com.------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users