0
我想用UMN-Mapserver呈現ERDAS-Image-file(後綴.img)。數據呈現在正確的位置並具有正確的形狀,但所有數據都是白色的而不是光柵圖像。該圖像包含很多圖層。我的地圖文件如下所示:爲什麼UMN-Mapserver將ERDAS Image-File(.img)顯示爲白色形狀?
MAP
NAME "Test"
WEB
METADATA
"wms_title" "test"
"WMS_SRS" "epsg:31466 epsg:31467 epsg:31468 epsg:31469 epsg:4326 epsg:25832 epsg:3035"
END
LOG "test.log"
IMAGEPATH "."
END
SHAPEPATH "."
PROJECTION
"init=epsg:32632"
END
LAYER
NAME "testlayer"
TYPE RASTER
DATA "test.img"
STATUS ON
OFFSITE 0 0 0
END
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGBA
END
END
我希望你能在StackOverflow上得到答覆。如果這不起作用,我推薦MapServer用戶論壇。非常活躍,非常專業的用戶在那裏閒逛http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html – MarkJ 2010-05-21 14:30:08