[GRASS-dev] latlong problem

Markus Neteler neteler at itc.it
Fri Mar 9 09:51:43 EST 2007


Markus Neteler wrote on 03/07/2007 06:40 PM:
> Glynn Clements wrote on 03/07/2007 06:32 PM:
>   
>> ...
>> Actually, this isn't a problem which can be "solved". What do you do
>> if you *want* a polygon which spans 340° of longitude? How do you
>> interpret a polygon which spans exactly 180°; which hemisphere does it
>> cover?
>>
>> IOW, I don't think that we'll ever get this "right".
>>   
>>     
>
> Well, to me
>  http://mpa.itc.it/markus/tmp/admin98_oceans_fixed.png
> looks much more reasonable than
>  http://mpa.itc.it/markus/tmp/admin98_oceans_buggy.png
>
> Sorry for this stupid comment, but I still think that there is a problem.
> And in this case it is a perfect -180 .. 180deg map. The rendering is
> ok for 3/4th of the map but not the northern part (although there
> is a north boundary in the map, see "fixed" map example).
>   

Joy and happiness! After re-generating the oceans map (using the updated
v.in.region),
the rendering is correct now (using the standard renderer).

Now it looks like
http://mpa.itc.it/markus/tmp/admin98_oceans_fixed.png

Thanks for the fixes, Glynn!
Markus




More information about the grass-dev mailing list