[mapserver-users] Got weird map when use MapServer WMS to reproject data (with global extent) from EPSG:4326 to projections like World Sinusoidal/Mollweide/...

Wei, Yaxing weiy at ornl.gov
Fri May 21 10:04:01 PDT 2010


I have set up a MapServer WMS for several global scale spatial data. The original crs for these data is WGS84 (EPSG:4326). I got weird maps when I requested this WMS using projections like EPSG:54008 (World Sinusoidal) and EPSG:54009 (World Mollweide). Those maps created by this WMS looks like a mess in north pole and south pole areas, as shown in the attached screenshots. You can also test this WMS by clicking the two links below.

Request map from WMS using Sinusoidal projection: http://webmap.ornl.gov/ogcbroker/wms?LAYERS=10004_1&TRANSPARENT=true&FORMAT=image%2Fpng&BANDS=1&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A54008&bbox=-20015077.371192962%2C-10007538.685596481%2C20015077.371192962%2C10007538.685596481&width=720&height=360

[cid:135290117 at 21052010-209E]
Fig. 1 Map in Sinusoidal projection

Request map from WMS using Mollweide projection: http://webmap.ornl.gov/ogcbroker/wms?LAYERS=10004_1&TRANSPARENT=true&FORMAT=image%2Fpng&BANDS=1&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A54009&bbox=-18040095.696120452%2C-9020047.848060226%2C18040095.696120452%2C9020047.848060226&width=720&height=360

[cid:135290117 at 21052010-20A5]

Fig. 2 Map in Mollweide projection

This problem happened for several versions of MapServer, including the current version (5.6.3)

Anybody can help me with this? Thank you very much.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100521/faeb60d4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: att2d921.png
Type: image/png
Size: 31177 bytes
Desc: att2d921.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100521/faeb60d4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: att2d922.png
Type: image/png
Size: 32608 bytes
Desc: att2d922.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100521/faeb60d4/attachment-0001.png>


More information about the MapServer-users mailing list