You could try a multipolygon, with one of the subpolygons from
-179.000 to -179.99999, and the other from 179.9999 to 179.000. That
way you'd have one feature, with a geometry where 0,0 is outside of
it.
-Larry
On Fri, Jul 8, 2011 at 9:20 AM, Oleksandr Huziy <[email protected]> wrote:
> Hello,
>
> I am again returning to my problem of polygons.
>
> Is it possible to define a polygon in geotools that looks like this
>
> 0-................(-179,20) __________ (179,20) ................ +0
> | |
> | |
> |_________|
> 0-................(-179,10) (179,10)
> ................+0
> W <- -> E
>
> in a way that 0 lies outside the rectangle. I tried to use 2 separate
> polygons,
> but there are some cases when it does not work.
>
> What I am looking for, maybe the directed polygon or geometry.
>
> thanks in advance for any suggestions.
>
> --
> Oleksandr Huziy
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users