Hello,

Seba Alzaradel said:
> Hi again,
> I need to know if a point or coordinate belongs to a polygon in particular
> or is inside it. Is there any function that resolve this in uDig API?

grab the geometry of you poly (as in feature.getDeafultGeometry()) and try
poly.contains( somePoint );

This is the JTS API. Have a look the the javadoc for other methods.

Cheers,

Ugo
>
> Thanks
> SEBA
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to