Landsat image tiffs
Zenon Panoussis
oracle at PROVOCATION.NET
Fri Aug 18 23:43:11 PDT 2006
Zenon Panoussis wrote:
> In a map that displays etopo and srtm tiffs without problems,
> I have this layer:
> LAYER
> NAME "landsat"
> TYPE RASTER
> STATUS DEFAULT
> DATA "007068_15me[suffix].tif"
> END
> mapserver refuses to display this particular layer no matter what I do.
The base map uses UNITS DD. Experimenting on, I added
PROJECTION
"proj=utm"
"ellps=WGS84"
"datum=WGS84"
"zone=18"
"units=m"
"south"
"no_defs"
END
to the layer. The layer was still not displayed. I then went in the
opposite direction, removed the projection definition from the layer
and run
gdalwarp -t_srs '+proj=latlong' old.tif new.tif
Now mapserver actually displays the raster, but only as a solid-colour
orange square.
I've already been barking up so many trees trying to get this to work,
and there's still a whole forest left. Does anyone have a sample layer
and creation command for landsat images, and would be willing to post
it here?
Z
More information about the MapServer-users
mailing list