[Geoserver-users] Create Image Mosaic JDBC datastore in command line

Hi lister,

I would like to publish raster from PostGIS database, and I found this tutorial http://docs.geoserver.org/2.1.4/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html , everything works fine, but I need to configure GeoServer in command line (curl for example). Is there an opportunity to do this?

Thanks in advance,
Jb

Hi,
take a look here:

http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html

Cheers,
Carlo

···

2014-03-11 17:55 GMT+01:00 Jean-Baptiste Paroissien <jeanbaptiste.paroissien@anonymised.com>:

Hi lister,

I would like to publish raster from PostGIS database, and I found this
tutorial
http://docs.geoserver.org/2.1.4/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html
, everything works fine, but I need to configure GeoServer in command
line (curl for example). Is there an opportunity to do this?

Thanks in advance,
Jb


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information.

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Tue, Mar 11, 2014 at 6:32 PM, carlo cancellieri <
carlo.cancellieri@anonymised.com> wrote:

Hi,
take a look here:

http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html

Hi Carlo,
that coverage store is a bit different, in that one needs a xml config for
it on the disk,
and the coverage url points to it. I don't think there is a way to upload
that xml
file via REST.

I've cc'ed Christian, the developer of the image mosaic JDBC plugin, in
case he's got
some tricks to share :slight_smile:

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Thanks for you all for the replies!

I hope it’s possible to do something :wink:

Cheers, Jb

···

2014-03-11 18:41 GMT+01:00 Andrea Aime <andrea.aime@anonymised.com>:

On Tue, Mar 11, 2014 at 6:32 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:

Hi,
take a look here:

http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html

Hi Carlo,
that coverage store is a bit different, in that one needs a xml config for it on the disk,
and the coverage url points to it. I don’t think there is a way to upload that xml
file via REST.

I’ve cc’ed Christian, the developer of the image mosaic JDBC plugin, in case he’s got
some tricks to share :slight_smile:

Cheers
Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Unfortunately, a complete configuration via REST is not possible.

I would use ssh to copy the missing files. (Configure ssh to work with certificates to avoid password prompting).

Cheers
Christian

···

On Tue, Mar 11, 2014 at 8:21 PM, jean-baptiste paroissien <jeanbaptiste.paroissien@anonymised.com> wrote:

Thanks for you all for the replies!

I hope it’s possible to do something :wink:

Cheers, Jb


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

2014-03-11 18:41 GMT+01:00 Andrea Aime <andrea.aime@anonymised.com>:

On Tue, Mar 11, 2014 at 6:32 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:

Hi,
take a look here:

http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html

Hi Carlo,
that coverage store is a bit different, in that one needs a xml config for it on the disk,
and the coverage url points to it. I don’t think there is a way to upload that xml
file via REST.

I’ve cc’ed Christian, the developer of the image mosaic JDBC plugin, in case he’s got
some tricks to share :slight_smile:

Cheers
Andrea

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it