<div dir="ltr"><div><div><div>Hello,<br><br></div>I have a raster file in GeoTiff, EPSG:4326. I am using it in a mapfile for WMS services in EPSG:3857.<br><br></div>When zooming out I get the raster layer flipped. All other vector layer are ok. It seems that it occurs when the BBOX is outside the EPSG:3857 p<span class="">rojected bounds limitation [1].</span><br>
<br></div>I have another issue which may not be linked with the previous one: a vertical blank line appear on the left (beyon 180 degrees). However, the raster is showing again after the date line.<br><div><br>Here two requests, the first one shows the wrong result:<br>
* <a href="http://www.ifremer.fr/services/wms1?LAYERS=ETOPO1_BATHY_R&STYLES=default&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3857&BBOX=-28066452.007098,-2465552.6274048,30754589.246699,9979617.7775904&WIDTH=1503&HEIGHT=400">http://www.ifremer.fr/services/wms1?LAYERS=ETOPO1_BATHY_R&STYLES=default&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3857&BBOX=-28066452.007098,-2465552.6274048,30754589.246699,9979617.7775904&WIDTH=1503&HEIGHT=400</a><br>
<br>The second one shows the good result:<br>* <a href="http://www.ifremer.fr/services/wms1?LAYERS=ETOPO1_BATHY_R&STYLES=default&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3857&BBOX=-28066452.007098,-2465552.6274048,30754589.246699,9979617.7775904&WIDTH=1502&HEIGHT=400">http://www.ifremer.fr/services/wms1?LAYERS=ETOPO1_BATHY_R&STYLES=default&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3857&BBOX=-28066452.007098,-2465552.6274048,30754589.246699,9979617.7775904&WIDTH=1502&HEIGHT=400</a><br>
<br>Diff:<br>- WIDTH=1503<br>+ WIDTH=1502<br><br>This MapServer is quiet old but I can reproduce the issue with master.<br><br>If I open the raster file directly in QGIS I have some other rendering issue (some part of the raster are not displayed at all, but always different part among the zoom level (always on the left anyway).<br>
<br>Log in MapServer doesn't seems to show any error.<br><br>Any idea? Should I fill a ticket with this?<br><br>Thanks,<br><br>Y.<br>[1] <a href="http://epsg.io/3857">http://epsg.io/3857</a><br><div><div><div>-- <br>Responsable Formation et Support<br>
Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel (France) : +33 4 79 26 57 98<br>Tel (Suisse) : 021 619 10 43<br>Mob. : +33 6 18 75 42 21<br>Fax : 04 79 70 15 81<br><br>Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a>
</div></div></div></div></div>