[TinyOWS-users] Requests with filters
olivier.courtin at gmail.com
Thu Sep 2 16:30:28 EST 2010
On Sep 2, 2010, at 10:49 PM, Alexandre Dube wrote:
> In the application I'm currently developing, I have lots and lots of
> point features to render in the map (in OpenLayers). Using the
> "Cluster" strategy works fine to avoid having too much points on the
> screen, but it's still very slow to render by the browser.
> Let's say I have 3000 points to render. In the PostGIS table, let's
> say they have a "CLASS" column having 1 to 10 values (10 being major
> features to 1 being trivial features). At smaller scales (zoomed
> I want to render the major features only and zooming in brings new
> features. Is there some kind of filter I can send to TinyOWS in order
> to have the related "where" statement added to the query ?
Well first it's a client side problem in fact,
as a decent WFS client should allow you to display 3000 points easily...
You could use Filter Encoding (FE) to restrict the GetMap operation to
only few features. And base your FE on attribute and/or geographic
More information about the TinyOWS-users