[OpenLayers-Users] WFS Layer Behavior

Tim Schaub tschaub at opengeo.org
Wed Jan 14 18:57:51 EST 2009


Hey-

Bill Thoen wrote:
> When you open a WFS layer does OL load the entire data file, or just the 
> features that are visible in the map window? I tried feeding it a large 
> table and it took quite a while to display, so I was wondering if that 
> was because it had to dig into the table to find the features in the map 
> window or if it just loaded everything.
> 

Use Firebug to monitor XMLHttpRequest traffic.  You should see a 
GetFeature request with a bbox parameter in the query string.  Your 
response should contain just those features that intersect the bbox 
(assuming the server works as a WFS).

Tim

> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.



More information about the Users mailing list