Re: [Geoserver-users] Adding lots of GeoTiffs at once

2013-07-30 Thread Jonathan Moules
Heh, quotes in Windows batch files get very annoying. I don't suppose anyone has a batch file to hand they can copy/paste here? I can probably work from that. Thanks for all the responses! Jonathan On 29 July 2013 20:11, Mike Pumphrey m...@opengeo.org wrote: It's actually not that bad,

[Geoserver-users] Adding lots of GeoTiffs at once

2013-07-29 Thread Jonathan Moules
Hi List, I have 39 different GeoTiff layers I want to add to GeoServer. They're not part of a mosaic or pyramid or anything, each is a separate file and needs to be a separate layer. Is there an easy way to add them all to GeoServer rather than just manually slogging through create store -

Re: [Geoserver-users] Adding lots of GeoTiffs at once

2013-07-29 Thread Paolo Corti
On Mon, Jul 29, 2013 at 5:56 PM, Jonathan Moules jonathanmou...@warwickshire.gov.uk wrote: Hi List, I have 39 different GeoTiff layers I want to add to GeoServer. They're not part of a mosaic or pyramid or anything, each is a separate file and needs to be a separate layer. Is there an easy

Re: [Geoserver-users] Adding lots of GeoTiffs at once

2013-07-29 Thread Jonathan Moules
Confirmed my supposition. Curl on windows is a royal pain with multi-line stuff (as is required here it seems). I keep getting was unexpected at this time. I'll just stick to doing it manually. Much less stress. Jonathan On 29 July 2013 17:20, Jonathan Moules

Re: [Geoserver-users] Adding lots of GeoTiffs at once

2013-07-29 Thread arahav
Yeah, we use Python and Requests (http://docs.python-requests.org/en/latest/) instead of CURL... You can also try gsconfig. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Adding-lots-of-GeoTiffs-at-once-tp5069402p5069427.html Sent from the GeoServer - User mailing

Re: [Geoserver-users] Adding lots of GeoTiffs at once

2013-07-29 Thread Mike Pumphrey
It's actually not that bad, provided you remember to use double quotes instead of single quotes (double quotes seem to work cross-platform, not sure why the tendency is to use single quotes) and to put it all on one line (as you have surmised). I usually put the payload in a separate file to

Re: [Geoserver-users] Adding lots of GeoTiffs at once

2013-07-29 Thread David Winslow
In bash[1] and many other unix-like shells, the rules for how things are interpreted inside of single quotes is much less complicated than for double. For URLs I would generally not expect to encounter any of the exceptions, but I think that's the reason that tutorials generally stick to