Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm running Geoserver 2.1.3 (SVN 16668) and am trying to get REST working with GeoWebCache. I've got :8080/geoserver/rest working correctly, and am able to interact with that side of things. However, :8080/geowebcache doesn't exist. I'm told that the only two contexts that exist are /javadocs and /geoserver.

I understand that there is such a thing as a REST api for geowebcache. How do I get to it? Is there some additional plugin that I need to download for GeoServer before it becomes accessible, or something of that sort? I haven't been able to find anything on the net about someone just missing the REST section of GeoWebCache. The rest of it works fine. Any ideas?

Thanks!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You don't need additional plugins to get GeoWebCache working. All you need is navigate to GeoWebCache settings page, and check Enable WMS Integration. You can then confirm that it is working by navigating to the GeoWebCache Demo page http://localhost:8080/geoserver/gwc/demo for localhost on port 8080. Refer to this page for more info.

From your own pages, you can access the layers the same way you'd access WMS layers, making sure you specify the TILE_SIZE parameter.

I don't think you need the REST API for this. If you want to manipulate the workspace, data stores, etc, from another application, say Java or C# or PHP, then you'll need the REST API. Refer to this page for more info.

share|improve this answer
    
Ahh, yeah you're right...the URL is different..the docs at geowebcache.org/docs/current/rest/layers.html say it should be :8080/geowebcache/rest/layers/ but that's obviouslly not correct. Whelp, not the first time Geoserver's docs have led me wrong. –  lightstrike Jul 2 '12 at 19:18
    
lightstrike, the GeoServer docs are open source, feel free to provide patches to improve them: github.com/geoserver/geoserver/tree/master/doc –  Andrea Aime Jul 2 '12 at 19:40
    
Sent. I'm not sure if I did it correctly, honestly, as I've never used github before, but I've sent a pull request to the geowebcache project. –  lightstrike Jul 2 '12 at 21:34
    
" but I've sent a pull request". What do you mean by this? May be if you explain what you are trying to achieve, it'll be easier to assist. –  okello Jul 3 '12 at 6:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.