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 am calling in some WMS layers using openlayers. One of the layers is a raster. I have it working fine. But how does this fit into the spatial database model? I thought a WMS is a protocol for handling vector data. How raster data stored? Are they within PostGIS? Does Geoserver handle raster data? Thanks so much!

share|improve this question

WMS is a protocol for displaying picture of maps. WFS is a protocol for sending vector data to a client while WCS is a protocol for sending rasters to a client. The key difference is what ends up with the client, if the client needs to work with the data then you want to use a WFS or WCS but for most web mapping projects a WMS is a fine way of sending a picture of your map to them, it doesn't matter if the underlying data is a raster or a vector.

GeoServer handles raster data by reading the data from a file in the data directory. Exactly where and how it is read from depends on the data store you are using.

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.