[OpenLayers-Users] Question on controlling WFS layer based on scale

Stephen Woodbridge woodbri at swoodbridge.com
Fri Feb 6 01:56:44 EST 2009


Thanks Eric,

I will give it a try in the morning when my head is a little more awake 
and I'll report back.

-Steve W

Eric Lemoine wrote:
> Hi
> 
> In principle you can control this with maxResolution and/or
> minResolution options set in the layer. Though I'm not sure how a
> Layer.WFS will behave in that case - will it stop fetching features
> from the server when it's out-of-range? We can hope so...
> 
> Cheers,
> 
> Eric
> 
> 2009/2/5, Stephen Woodbridge <woodbri at swoodbridge.com>:
>> Hi,
>>
>> I want to have a WFS layer but I'm thinking that I need to control when
>> it is active based on scale so I don't get too many polygons back. What
>> is the best way to do this? Can it be handled in OpenLayers? are there
>> other strategies for this like does UMN mapserver honor maxscaledenom on
>> wfs requests. I guess I'll try that to see if it works.
>>
>> Other thoughts?
>>
>> -Steve W
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>




More information about the Users mailing list