[Geoserver-users] Uploading Coverages via REST API

Dear All,

I am using Geoserver 2.3.x and I want to Register a Geotiff image that I first upload into the Geoserver data directory and then I would like to register the file using REST (Curl). Are there any examples out there that can help me figure that out. So far I can create the coveragestore but there is no data in it. I nee dto figure out how to assign the File:Data… bit

Thanks!

Otto Krauth

Hi Otto,

I’m not using Curl, but I’ve successfully uploaded a coverage to GeoServer using this code:

https://github.com/deadpassive/smartwps/blob/master/smartwps-base/src/main/java/uk/ac/glam/smartwps/base/server/GeoServerREST.java

Please refer to the uploadCoverage method.

Jon

···

On 12 April 2013 07:05, Otto Krauth <okrauth@anonymised.com> wrote:

Dear All,

I am using Geoserver 2.3.x and I want to Register a Geotiff image that I first upload into the Geoserver data directory and then I would like to register the file using REST (Curl). Are there any examples out there that can help me figure that out. So far I can create the coveragestore but there is no data in it. I nee dto figure out how to assign the File:Data… bit

Thanks!

Otto Krauth


Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter


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

Ciao Otto,
you can check the geoserver-manager lib here:

https://github.com/geosolutions-it/geoserver-manager/

There should be examples in the wiki for both raster and vector sources:

https://github.com/geosolutions-it/geoserver-manager/wiki

Regards,
Simone Giannecchini

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Fri, Apr 12, 2013 at 8:05 AM, Otto Krauth <okrauth@anonymised.com> wrote:

Dear All,

I am using Geoserver 2.3.x and I want to Register a Geotiff image that I
first upload into the Geoserver data directory and then I would like to
register the file using REST (Curl). Are there any examples out there that
can help me figure that out. So far I can create the coveragestore but
there is no data in it. I nee dto figure out how to assign the File:Data…
bit

Thanks!

Otto Krauth

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users