1

I am new to GeoServer and am a bit lost at the moment.

I have added shapefiles to GeoServer and created a layer containing all the shapefiles that I would like to display on my externally hosted web site. When I go to layer preview in GeoServer it allows you to display an OpenLayers preview in a pop up. I have copied the page source from the preview into the HTML of my hosted web site. This seems to work fine when I open my web page when GeoServer is running. As soon as I turn off GeoServer I can no longer view these data on my web page.

Can anyone help me?

1
  • 3
    leave Geoserver running...
    – Mapperz
    Commented Aug 8, 2011 at 13:53

2 Answers 2

5

You pretty much answered the question yourself: Geoserver has to be running if you want to serve maps on your website. Every time the page is requested, Geoserver has to draw the map/image.

1

Ofcourse unless Geoserver running, your site can not the map images (tiles) from GeoServer - normally it requested through WMS calls. If there are any concerns on performance for running GeoServer and generate image on the fly, you could consider geowebcache configured, which will be caching all the tiles and respond back for future request. However not that in this case to Geoserver should be running stage. However no new images get generated as long as they in cache.

2
  • By using "older" solutions as tilecache which runs separately from Geoserver cached tiles could be served even if Geoserver is not running. Commented Mar 22, 2013 at 10:52
  • You can download tilecache from here - tilecache.org. It is also possible to seed all layers that you need and after that you will not need to have Geoserver running until you want to update data. Commented Mar 22, 2013 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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