<div dir="ltr">Hello,<br><div class="gmail_quote"><div dir="ltr"><div><div><div><br>I do not manage do fully render in a Mapserver WMS a raster that crosses the antimeridian when I request a -180°/+180° longitude bbox.<br><br>This is the request :<br>mapserv -nh "QUERY_STRING=map=mapfile.map&layers=polar_orbiting_avhrr4&styles=&service=WMS&format=image%2Fpng&request=GetMap&height=400&width=800&version=1.1.1&bbox=-179.99%2C-89.99%2C179.99%2C89.99&exceptions=application%2Fvnd.ogc.se_inimage&srs=EPSG%3A4326&transparent=TRUE<br><br>In the result image, I only get the western side of the raster, near the +180°. Nothing for the eastern part near the -180°.<br><br></div>How to solve this problem ?<br><br>This is a description of the raster :<br>Driver: GTiff/GeoTIFF<br>Files: /tmp/polar_orbiting_avhrr4.tiff<br>Size is 7021, 4321<br>Coordinate System is:<br>GEOGCS["unnamed ellipse",<br> DATUM["unknown",<br> SPHEROID["unnamed",6378160,298.2539162964669]],<br> PRIMEM["Greenwich",0],<br> UNIT["degree",0.0174532925199433]]<br>Origin = (135.000000000000000,0.000000000000000)<br>Pixel Size = (0.009257940464321,-0.009257116408239)<br>Metadata:<br> AREA_OR_POINT=Area<br>Image Structure Metadata:<br> INTERLEAVE=BAND<br>Corner Coordinates:<br>Upper Left ( 135.0000000, 0.0000000) (135d 0' 0.00"E, 0d 0' 0.01"N)<br>Lower Left ( 135.0000000, -40.0000000) (135d 0' 0.00"E, 40d 0' 0.00"S)<br>Upper Right ( 200.000, 0.000) (200d 0' 0.00"E, 0d 0' 0.01"N)<br>Lower Right ( 200.000, -40.000) (200d 0' 0.00"E, 40d 0' 0.00"S)<br>Center ( 167.5000000, -20.0000000) (167d30' 0.00"E, 20d 0' 0.00"S)<br>Band 1 Block=7021x1 Type=Byte, ColorInterp=Gray<br><br><br></div>This is the mapfile contents :<br>MAP<br> STATUS ON<br> NAME "foo"<br> CONFIG "MS_ERRORFILE" "stderr"<br> IMAGETYPE "agg"<br> MAXSIZE 8192<br> PROJECTION<br> "init=epsg:4326"<br> END<br> OUTPUTFORMAT<br> NAME "agg"<br> DRIVER "AGG/PNG"<br> MIMETYPE "image/png8"<br> IMAGEMODE "PC256"<br> EXTENSION "png"<br> END<br> WEB<br> METADATA<br> "ows_enable_request" "*"<br> "ows_sld_enabled" "true"<br> "wms_feature_info_mime_type" "text/html"<br> "wms_srs" "epsg:4326"<br> END<br> END<br> LAYER<br> STATUS ON<br> TYPE RASTER<br> NAME "polar_orbiting_avhrr4"<br> DATA "/tmp/polar_orbiting_avhrr4.tiff"<br> OFFSITE 0 0 0<br> PROCESSING "RESAMPLE=NEAREST"<br> END<br>END<br><br><br></div></div>
</div><br></div>