The best solution to this will be to implement UTFGrid output from
GeoServer.  See OpenLayers example at
http://tschaub.net/openlayers/examples/utfgrid.html

Will take a decent bit of development effort, as it gets in to core
rendering stuff.  But will be awesome if we build it right.

On Tue, Feb 28, 2012 at 4:51 PM, Andrea Aime
<andrea.a...@geo-solutions.it> wrote:
> On Tue, Feb 28, 2012 at 3:01 AM, Phil Scadden <p.scad...@gns.cri.nz> wrote:
>> Wanting to implement some "on hover" function on a map and whether best
>> to issue WMS or WFS requests?
>
> Hmm... probably neither? At least, not if you are issuing a new
> request each time
> the user moves the mouse.
>
> Ideas:
> - use GetFeatureInfo, but issue the request only if the user position
> changed enough
>  from the last position (2-3 pixels?)
> - use GetFeature, but load a larger area in the client and then hit
> that one until the
>  mouse position gets out of the previously loaded area. The tricky
> part si balancing
>  the area size with the need to keep the amount of features loaded small
>
> Cheers
> Andrea
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:    +39 339 8844549
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to