wrapping around the dateline using geographic coordinates

Frank Warmerdam warmerdam at POBOX.COM
Wed Mar 28 14:54:06 EDT 2007


percy wrote:
> Hi all,
> 
> I've asked this question before, trolled through the archives and 
> googled everything I could think of.
> 
> *Has anyone come up with an elegant way of displaying data that crosses 
> the dateline, while keeping the coordinate system in decimal degrees?*
> 
> My Aleutian islands currently get chopped off, and similar problems 
> ensue with the Pacific Protectorates (Guam, Midway, Samoa, etc)
> 
> Thanks for any hints! I hope I'm missing something obvious :-)

Percy,

The obvious is to rewrap your original data to 0-360 and to not tell
mapserver anything about the coordinate system at all.  Then you can
work over the dateline without problems.

This does not work well with WMS or anything else that needs to be
coordinate system aware though.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list