[Gdal-dev] 1-band TIFF FILE color ramp NEEDED
alvarez00
oalvarez00 at gmail.com
Sat Apr 11 20:19:00 EDT 2009
Hi Frank,
here is how I modify the vrt file:
<VRTDataset rasterXSize="1200" rasterYSize="1096">
<SRS>GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.2572221010002,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4269"]]</SRS>
<GeoTransform> -1.2459079918952935e+02, 8.9964705882352915e-03, 0.0000000000000000e+00, 4.2216820949146452e+01, 0.0000000000000000e+00, -8.9964705882352915e-03</GeoTransform>
<Metadata>
<MDI key="AREA_OR_POINT">Area</MDI>
</Metadata>
<VRTRasterBand dataType="Byte" band="1">
<Metadata/>
<NoDataValue>-3.40282346638529E+38</NoDataValue>
<ColorInterp>Palette</ColorInterp>
<ColorTable>
<Entry c1="255" c2="255" c3="255" c4="255"/>
<Entry c1="0" c2="0" c3="0" c4="255"/>
<Entry c1="35" c2="66" c3="55" c4="77"/>
</ColorTable>
<ComplexSource>
<SourceFilename relativeToVRT="1">GoesWest1V1561915.tiff</SourceFilename>
<SourceBand>1</SourceBand>
<SrcRect xOff="0" yOff="0" xSize="1200" ySize="1096"/>
<DstRect xOff="0" yOff="0" xSize="1200" ySize="1096"/>
<ScaleOffset>0</ScaleOffset>
<ScaleRatio>2559.99</ScaleRatio>
</ComplexSource>
</VRTRasterBand>
</VRTDataset>
Yes I have tried to import the vrt file into GE but the same thing it showed in gray scale, also I tried to convert the modify VRT file back to geotiff but the same thing (gray scale).
thanks
Hi,
After modifying the VRT file to include a color table (why didn't you
show us that VRT file!) what did you do? Did you try to open the VRT
in GE? Did you gdal_translate that VRT back to a new geotiff and try to
view that? Can you expand on "but that doesn't work"?
Best regards,
--
--
View this message in context: http://n2.nabble.com/1-band-TIFF-FILE-color-ramp-NEEDED-tp2613963p2622431.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list