Hi Amador,

> Hi guys, I'm following some tutorial about GeoTools, in the selection lab
> the author use a rectangle to the selection, but It's no very precise, so I
> wonder, Can I use pixel or point to perform selection in a poligon?
> I hope you can help me.

Certainly. The example uses a rectangle because it catches points and
lines as well as polygons and keeps the tutorial code simple. For
polygons, you can use a point instead of a rectangle in the
"intersects" filter to get better precision.

> PD: Sorry for my spanglish, I'm learning english... xD

Your spanglish is a lot better than my (non-existent) spanish :-)

Michael

------------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to