OpenLayers OpenLayers

Ticket #1401 (new feature)

Opened 2 years ago

Last modified 1 year ago

Support for tiled WFS

Reported by: kleptog Assigned to:
Priority: minor Milestone: 2.9 Release
Component: general Version: 2.5
Keywords: tiled WFS Cc: kleptog@gmail.com
State: Needs More Work

Description

Currently WFS is slightly inefficient in that it asks for a BBOX depending on where the user is looking making it next to impossible to cache effectively. This patch introduces tiled WFS, so it only asks for WFS along grid boundaries.

This patch effectivly works, there is a demo here: http://tile.openstreetmap.nl/testwfs.html

I started making some tests but ran out of time. Also, it got decided the have a single WFS layer with singleLayer:true/false. I beleive this works but havn't tested it entirely.

There's more discussion about it here: http://openlayers.org/pipermail/dev/2008-February/002378.html

Attachments

WFSTile.patch (31.3 kB) - added by kleptog on 02/28/08 10:08:53.
Initial patch

Change History

02/28/08 10:08:53 changed by kleptog

  • attachment WFSTile.patch added.

Initial patch

(follow-up: ↓ 2 ) 03/05/08 01:23:12 changed by rdewit

Hi kleptog, thanks for this patch. Can you explain why you created a whole new layer WFSTile as well as 'fixing' the Layer.WFS and Tile.WFS? Is WFSTile necessary? (have not made time to really look at your patch)

(in reply to: ↑ 1 ) 03/05/08 02:33:56 changed by kleptog

Replying to rdewit:

Hi kleptog, thanks for this patch. Can you explain why you created a whole new layer WFSTile as well as 'fixing' the Layer.WFS and Tile.WFS? Is WFSTile necessary? (have not made time to really look at your patch)

Ah, the WFSTile was the first version and then the idea was floated to fix the Layer.WFS and Tile.WFS directly. While creating the patch I realised I didn't remember if the fixed Layer.WFS worked already or not, so I included the old version as well...

Long term goal is that WFSTile ceases to exist.

03/03/09 02:28:37 changed by crschmidt

  • milestone set to 2.9 Release.