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 investigating using Geoserver to output new WFS layer features dynamically. We have a backend process that will be generating new WFS features periodically that will be placed in a datastore (most likely PostGIS). I plan on creating a WFS layer for the feature data in PostGIS. The idea is to have the backend process dynamically add new features into PostGIS and my expectation is that clients making WFS features requests using Geoserver will get the new feature data I am adding at runtime. Is this the case? I can't seem to find any documentation discussing what happens when the datastore's data is updated.

share|improve this question
note that some WFS clients (e.g. ArcMap with the Data Interoperability extension) might cache WFS data and this will almost certainly be out of your control – tomfumb Mar 15 '12 at 20:55
up vote 3 down vote accepted

Yes, that's the case. The way I do it is basically exactly how you've described. I have my tables and a PostGIS View. Then on GeoServer I create a GeoServer SQL View to postgis which is basically select * from ourpostgisview. So as soon as anything is updated or added to the tables of course the view sees it and so does the GeoServer layer.

Here is some documentation.

Creating a View in GeoServer

Parametric SQL views

share|improve this answer
Thanks. I'll use this approach as described. – Pedro Estrada Mar 16 '12 at 2:48

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.