GeoTIFF display problem
David Fawcett
David.Fawcett at STATE.MN.US
Wed Dec 29 09:41:45 PST 2004
Paul,
Can you get one image tile to display without the index?
Try putting your index shapefile and your tiles in the same directory
and setting all of the paths to reflect that.
David.
>>> "R. Paul Warriner" <paul at WARRINER.US> 12/29/2004 11:35:36 AM >>>
I am having problems displaying the
following GeoTIFF file.
I was able to create a shape file index
from these tif files, and it displays
fine, but the map file below will not
display the image.
Hoping for any help.
Regards, Paul
gdalinfo:
w_10950988_12_07200_col_2002.tif
Driver: GTiff/GeoTIFF
Size is 3000, 2000
Coordinate System is `'
Origin = (1095000.000000,990000.000000)
Pixel Size = (1.00000000,-1.00000000)
Corner Coordinates:
Upper Left ( 1095000.000, 990000.000)
Lower Left ( 1095000.000, 988000.000)
Upper Right ( 1098000.000, 990000.000)
Lower Right ( 1098000.000, 988000.000)
Center ( 1096500.000, 989000.000)
Band 1 Block=3000x2 Type=Byte,
ColorInterp=Red
Band 2 Block=3000x2 Type=Byte,
ColorInterp=Green
Band 3 Block=3000x2 Type=Byte,
ColorInterp=Blue
START MAP FILE----------------
NAME "OP2004_"
SIZE 800 800
STATUS ON
EXTENT 998800.750 888365.9375
1194305.375 1129057.375
UNITS FEET
TEMPLATEPATTERN "printable.html|loader.html"
SHAPEPATH "/opmap/mapsurfer/shapes"
IMAGETYPE png
OUTPUTFORMAT
NAME GTiff
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE RGBA
EXTENSION "tif"
END
WEB
TEMPLATE "printable.html"
EMPTY "/opmap/mapsurfer/info.html"
# path relative to the webserver
document root
IMAGEPATH
"/var/www/htdocs/opmap/mapsurfer/tmp/"
IMAGEURL "/opmap/mapsurfer/tmp/"
END
LAYER
NAME "w_10950988_12_07200_col_2002"
DATA
"shapes/geotiff/w_10950988_12_07200_col_2002.tif"
STATUS ON
TYPE RASTER
END
LAYER
NAME "geotiff_index"
DATA "shapes/geotiff_index.shp"
STATUS ON
TYPE POLYGON
CLASS
STYLE
OUTLINECOLOR 0 0 0
COLOR -1 -1 -1
END
END
END
-----cut PostGIS layers
More information about the MapServer-users
mailing list