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 a problem where when editing features from a wfs vector layer. After some changes are made to the geometry, the feature redraws itself and the changes are lost.

Usually the problem occurs more often if a feature is huge and has many vertices. Also if the user pans and zooms in/out a lot.

My guess is that the browser (FireFox 18) "looses the cache" or something and therefore does a new request to the server and the feature is rendered and the changes are lost.

Is there a way to solve this or is the solution to "save often"?



share|improve this question
related:… – Mapperz Feb 5 '13 at 15:23
Hi Mapperz and thanks for the reply I'm not quite sure that I understand what you mean in how the answer in the other question would help me. I have features that are polygons. And the problem occurs when Im modifying one of them. I could try to have a extra wfs layer only for the feature that the user currently is editing. But my guess is that won't help if that only feature is complex enough. Or am I missing your point? – Mike001 Feb 5 '13 at 15:59
up vote 1 down vote accepted

I assume this happens when your vector data is retrieved using an OpenLayers.Strategy.BBOX. A workaround would be to either use a different strategy (e.g. OpenLayers.Strategy.Fixed), or to configure the BBOX strategy with a higher ratio.

share|improve this answer
Hi ahocevar and thank you very much for the reply and answer! You are correct I'm using the BBOX strategy but by raising the ratio the problem dissapear. I guess the down side of this is that more features than needed are retreived, but thats not an issue in this case (for now at least). Br Mike – Mike001 Feb 7 '13 at 12:37

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.