[mapserver-dev] Raster fliped with WMS and reprojection

Yves Jacolin yves.jacolin at camptocamp.com
Thu Jun 12 05:27:30 PDT 2014


Again,

About vertical blank line, one should add this line in the layer object
(this is not in the doc):

PROCESSING "LOAD_WHOLE_IMAGE=YES"

See https://github.com/mapserver/mapserver/issues/3111

Y.



2014-06-12 14:12 GMT+02:00 Yves Jacolin <yves.jacolin at camptocamp.com>:

> Hello,
>
> I have a raster file in GeoTiff, EPSG:4326. I am using it in a mapfile for
> WMS services in EPSG:3857.
>
> 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 projected
> bounds limitation [1].
>
> 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.
>
> Here two requests, the first one shows the wrong result:
> *
> 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
>
> The second one shows the good result:
> *
> 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
>
> Diff:
> - WIDTH=1503
> + WIDTH=1502
>
> This MapServer is quiet old but I can reproduce the issue with master.
>
> 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).
>
> Log in MapServer doesn't seems to show any error.
>
> Any idea? Should I fill a ticket with this?
>
> Thanks,
>
> Y.
> [1] http://epsg.io/3857
> --
> Responsable Formation et Support
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel (France) : +33 4 79 26 57 98
> Tel (Suisse) : 021 619 10 43
> Mob. : +33 6 18 75 42 21
> Fax : 04 79 70 15 81
>
> Mail : yves.jacolin at camptocamp.com
> http://www.camptocamp.com
>



-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : 021 619 10 43
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81

Mail : yves.jacolin at camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20140612/5c84bbbe/attachment.html>


More information about the mapserver-dev mailing list