> So I think that the only solution is to generate, at every rendering, a
> buffer
> the size of the image that stores for each pixel the feature id of the last
> rendered feature on it.
>

Yikes !!!  That's starting to sound really unpleasant for you.
Perhaps a more low-tech approach would be better :)

I think you are working with point features - yes ?  How about just
converting the mouse click to world coordinates and looking for
features that are within a threshold distance (in world units) to that
location.  You could base the threshold on some small fraction of the
currently display map extent.  If you catch more than one feature just
ask the user to zoom in.

Hope this helps

Michael

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to