Hello Duane,

> JTS is a 2.5D Cartesian geometry computation library. It is not capable of 
> understanding
> that 180 lies between -170 and 170.

Perhaps just normalize the incoming coordinates to [0, 360) then you
can test them against your polygon (with its vertices normalized in
the same manner).

Michael

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

_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to