Incomplete extent of raster after reprojection - corner missing
Delfos, Jacob
jacob.delfos at MAUNSELL.COM
Sun Oct 30 20:18:16 PST 2005
Hi List,
I have a raster which I am reprojecting on the fly from LCC to either UTM or Latlong. I just realised that in each mapimage, it misses a small corner at the bottom-right. The background colour of the map shows through. It appears that the slice being cut out of the raster-image prior to reprojection is too small; after reprojection, the cut-out slice doesn't cover the map-image completely, because of the distortion due to reprojection. This problem occurs every time the layer is drawn.
I have attached part of the map-image. The background of the map is light yellow, as is the bottom-right of the image. The height of the corner missing is typically about 8% (compared to mapimage-height). It occurs in php_mapscript version 4.4 and 4.6, using gdal 1.26 and 1.31 respectively. The raster is an ecw.
It's no major drama, but I was hoping it might be easy to fix.....
Regards,
Jacob
<<map.jpg>>
JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia Pty Ltd
629 Newcastle Street, Leederville, WA 6007
PO Box 81, Leederville, WA 6902
Western Australia
ABN 20 093 846 925
Tel + 61 8 9281 6185
Fax + 61 8 9281 6297
jacob.delfos at maunsell.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051031/a2d5a0c2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map.jpg
Type: image/jpeg
Size: 2174 bytes
Desc: map.jpg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051031/a2d5a0c2/attachment.jpg>
More information about the MapServer-users
mailing list