Hi All,
Currently, the (x, y) is calculated as
x = width / 2.0 * (1 + longitude / 180.0);
y = height / 2.0 * (1 - latitude / 90.0);
assuming Greenwich is in the middle of the map.
I think this algorithm should give us correct (x, y) if the map is
proper.
Regards,
Jedy
On Tue, 2008-03-18 at 02:49 -0700, Niall Power wrote:
> I??ve been playing with the timezone map feature that has just been
> integrated into the slim_source gate and I??ve noticed that the map graphic
> has some geographic inaccuracies.
> It seems that everything is shifted too far south relative to the points
> drawn on the map.
> Examples:
>
> - Oslo is out place( in the sea), as is Longyearbyen (should be on the
> southern tip of the
> island north of Norway.
> - singapore which is 1degree north of the equator should be at the very
> southern tip of malaysia. The dot appears well inside Malaysia.
>
> - The dot representing Tasmania is inland inside the Australian mainland.
>
> - Mawson, Casey, Davis, Dumont Stations etc. in the antartic should be dotted
> along the shore line of the Antartic landmass. Instead they are sitting out
> in the ocean.
>
> You can see where these points should be if you compare with the timezone
> applet from
> the gnome panel: Access it??s right click menu and select ??Adjust Date and
> Time?? then hit the ??Select Time Zone...?? button.
>
> It would seem that there are horizontal chunks of both the north and south
> polar regions missing, especially the south pole
> --
> This message posted from opensolaris.org
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20080318/75172bdd/attachment.html>