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 → Publish Layer 39 times?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
On Mon, Jul 29, 2013 at 5:56 PM, Jonathan Moules
<jonathanmoules@anonymised.com> 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 way to add them all to GeoServer rather than just manually
slogging through create store -> Publish Layer 39 times?
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 → Publish Layer 39 times?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
Thanks Both,
I’m not sure setting up a script to do rest/curl will be any faster than just zipping through the 39 of them manually.
Useful to know for the future though.
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 → Publish Layer 39 times?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
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.
Thanks Both,
I’m not sure setting up a script to do rest/curl will be any faster than just zipping through the 39 of them manually.
Useful to know for the future though.
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 → Publish Layer 39 times?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
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 make the command a bit shorter.
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
<jonathanmoules@anonymised.com>wrote:
Thanks Both,
I'm not sure setting up a script to do rest/curl will be any faster than
just zipping through the 39 of them manually.
Useful to know for the future though.
Cheers,
Jonathan
On 29 July 2013 17:13, Russ Hore <russ@anonymised.com> wrote:
Can't you use CURL/REST?
Russ
-----------------------
On 29 Jul 2013, at 16:56, Jonathan Moules <
jonathanmoules@anonymised.com> 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 way to add them all to GeoServer rather than just
manually slogging through create store -> Publish Layer 39 times?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
In bash1 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 single-quotes (even if for many authors it turns out to be cargo-culting.)
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 make the command a bit shorter.
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.
Thanks Both,
I’m not sure setting up a script to do rest/curl will be any faster than
just zipping through the 39 of them manually.
Useful to know for the future though.
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 → Publish Layer 39 times?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
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.
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 make the command a bit shorter.
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.
Thanks Both,
I’m not sure setting up a script to do rest/curl will be any faster than
just zipping through the 39 of them manually.
Useful to know for the future though.
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 → Publish Layer 39 times?
Thanks,
Jonathan
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.