Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have added all data in PostgreSQL with the help of POSTGIS. I made a store in Geoserver, but after adding data when I click on the Open Layer option it does not open, and a file downloaded is shown at the bottom (showing WMS service). What is the problem?

share|improve this question
First of all question not clear. After created store in Geoserver with database, you need to publish the layers for each table in the stores or with SQL views. Then from layer preview page, you can open in openlayers and check it. You need to provide what is the exception, you are getting to help specifically. You could get help from geoserver-users mailing list too. – Senthil Apr 26 '11 at 9:27
please post the exception (geoserver.log) if you want help to figure it out. – Mapperz Apr 26 '11 at 14:10

If trying to view a layer on the openlayers preview results in an error it means the layer is miconfigured somehow. You should see an exception on the console or in the geoserver log. Impossible to know what the issue is without it.

share|improve this answer

Your Answer


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.