Ticket #493 (closed defect: fixed)
Cracking problem with raster data.
| Reported by: | omry@… | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | MapServer CGI | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The problem is that for cetrain map requests, I can see a white gap between two adjacent tiles. I have reproduced the problem with two tiles, both in ECW format and in GeoTiff format. GDALINFO for ECW tile 1: [c:\projects\nat_ecw]gdalinfo ntn_b.ecw Driver: ECW/ERMapper Compressed Wavelets Size is 15804, 11058 Origin = (195706.200000,700001.600000) Pixel Size = (0.904480,-0.904467) Corner Coordinates: Upper Left ( 195706.200, 700001.600) Lower Left ( 195706.200, 690000.000) Upper Right ( 210000.600, 700001.600) Lower Right ( 210000.600, 690000.000) Center ( 202853.400, 695000.800) Band 1 Block=15804x1 Type=Byte, ColorInterp=Undefined Overviews: arbitrary Band 2 Block=15804x1 Type=Byte, ColorInterp=Undefined Overviews: arbitrary Band 3 Block=15804x1 Type=Byte, ColorInterp=Undefined Overviews: arbitrary GDALINFO for ECW tile 2: [c:\projects\nat_ecw]gdalinfo ntn_d.ecw Driver: ECW/ERMapper Compressed Wavelets Size is 15804, 11058 Origin = (195706.200000,690000.000000) Pixel Size = (0.904480,-0.904467) Corner Coordinates: Upper Left ( 195706.200, 690000.000) Lower Left ( 195706.200, 679998.400) Upper Right ( 210000.600, 690000.000) Lower Right ( 210000.600, 679998.400) Center ( 202853.400, 684999.200) Band 1 Block=15804x1 Type=Byte, ColorInterp=Undefined Overviews: arbitrary Band 2 Block=15804x1 Type=Byte, ColorInterp=Undefined Overviews: arbitrary Band 3 Block=15804x1 Type=Byte, ColorInterp=Undefined Overviews: arbitrary its easy to see that the lower left of the first tile and the upper left of the second are the same point, so the tiles are adjacent. The map file I use is MAP NAME "Israel orthophoto 2000" IMAGETYPE JPEG WEB METADATA "wms_title" "WMS Demo Server" END END PROJECTION "init=epsg:2039" END LAYER PROJECTION "init=epsg:2039" END NAME "Israel orthophoto 2000" STATUS DEFAULT TILEINDEX "tindex.shp" TILEITEM "location" TYPE RASTER END END # Map File The request that generated a tile with the 'crack' is http://omry/cgi-bin/mapserv.exe?map=/projects/nat_ecw/israel-itm.map&REQUEST=GetMap&VERSION=1&bbox=193943.77,702052.0,211426.34,677569.06&width=477&height=668 I have converted the ecw data to GeoTIFF, and using a different map file, with the same request parameters, I got the exact same crack using the GeoTIFF data. so this problem appears to be format independent. I would be happy to provide any required additional info about the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

