How to use Nasa Blue Marble raw images

Paco Regodón mapserver at METEOLOGICA.ES
Tue Jan 31 04:33:56 PST 2006


Hello, i downloaded a 10GB raw image from Nasa Earth Observatory - Blue 
Marble (http://earthobservatory.nasa.gov/Newsroom/BlueMarble/)

It is a world image at 500m/pixel resolution in raw rgb format, 
86400x42600 pixels.

I want to use it with mapserver, and have created a gdal VRT file:

<VRTDataset rasterXSize="86400" rasterYSize="42600">
<SRS></SRS>
<GeoTransform></GeoTransform>
  <VRTRasterBand dataType="Byte" band="1" subClass="VRTRawRasterBand">
    <ColorInterp>Red</ColorInterp>
    <SourceFilename 
relativetoVRT="1">world.topo.bathy.200407.3x86400x43200.bin</SourceFilename>
    <ImageOffset>0</ImageOffset>
    <PixelOffset>3</PixelOffset>
    <LineOffset>259200</LineOffset>
  </VRTRasterBand>
  <VRTRasterBand dataType="Byte" band="2" subClass="VRTRawRasterBand">
    <ColorInterp>Green</ColorInterp>
    <SourceFilename 
relativetoVRT="1">world.topo.bathy.200407.3x86400x43200.bin</SourceFilename>
    <ImageOffset>1</ImageOffset>
    <PixelOffset>3</PixelOffset>
    <LineOffset>259200</LineOffset>
  </VRTRasterBand>
  <VRTRasterBand dataType="Byte" band="3" subClass="VRTRawRasterBand">
    <ColorInterp>Blue</ColorInterp>
    <SourceFilename 
relativetoVRT="1">world.topo.bathy.200407.3x86400x43200.bin</SourceFilename>
    <ImageOffset>2</ImageOffset>
    <PixelOffset>3</PixelOffset>
    <LineOffset>259200</LineOffset>
  </VRTRasterBand>
</VRTDataset>

I still need to georeference the image. How can i fill the SRS and 
GeoTransform labels?

Also, is there some tool to convert this too big file into a tile of 
smaller files?

thanks for your help,

Paco Regodón

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060131/ab7ba987/attachment.htm>


More information about the MapServer-users mailing list