On Fri, Jul 8, 2011 at 5:20 PM, 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.
>

The common solution to this problem is to go beyond the valid
range of geographic data, 179 -> 181

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
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

Reply via email to