[Geoserver-users] Using REST to add coverage

I need to register a new geotiff as a coverage from another program. It seems like the best way to do this is to use the REST interface. I can see the code in the community folder of the svn repository. How do I use it? Do I need to check this out and build it myself, and then copy it into my geoserver war?

Also does anyone know the status of this module? I am currently running 1.6.4. Should I upgrade to 1.7 in order to use it?

Thanks,
Kevin

Hi Kevin,

David (CC'd) is the maintainer of this module, he can comment whether to use 1.6.x or 1.7.x.

If you ask nicely someone can probably build a jar for you and send it over, then you can just copy it into your GeoServer install.

The alternative is check out GeoServer and build it from source. We use maven "profiles" to engage community / experimental modules of this nature. For instance, if you check out geoserver source code and execute this maven command to build:

mvn -P RESTConfig clean install

The appropriate rest modules will be built. You can then either run GeoServer from the "web" module with the command:

mvn jetty:run

Or load everything into eclipse or some other ide and run from there. Here are some background docs just in case you are interested:

http://geoserver.org/display/GEOSDOC/2+Maven+Quickstart
http://geoserver.org/display/GEOSDOC/3+Eclipse+Quickstart

Hope that helps,

-Justin

Kevin Corby wrote:

I need to register a new geotiff as a coverage from another program. It seems like the best way to do this is to use the REST interface. I can see the code in the community folder of the svn repository. How do I use it? Do I need to check this out and build it myself, and then copy it into my geoserver war?

Also does anyone know the status of this module? I am currently running 1.6.4. <http://1.6.4.> Should I upgrade to 1.7 in order to use it?

Thanks,
Kevin

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

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

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

--
Justin Deoliveira
Software Engineer, OpenGeo
http://opengeo.org

Hi all,

This sounds like exactly what I’m looking for. Does the RESTful Configuration API include an HTTP client, or do I need to write my own? Are there any code samples (I need to bulk load a bunch of GeoTIFFs). Also, if some kind soul is handing out JARs, I’d love to get one :slight_smile:

Thanks!

Greg

Justin Deoliveira wrote:

···
-- 
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| [greg@anonymised.com](mailto:greg@anonymised.com)
| 360.774.6848
|