Hi,
I'm successfully rendering GeoTiffs using the GDAL datasource in gray
scale but would like to render them in color. gdalinfo outputs:

Band 1 Block=12001x1 Type=Byte, ColorInterp=Gray
  Overviews: 3001x2001, 1501x1001, 751x501, 376x251, 188x126, 94x63
  Metadata:
    LAYER_TYPE=athematic
Band 2 Block=12001x1 Type=Byte, ColorInterp=Undefined
  Overviews: 3001x2001, 1501x1001, 751x501, 376x251, 188x126, 94x63
  Metadata:
    LAYER_TYPE=athematic
Band 3 Block=12001x1 Type=Byte, ColorInterp=Undefined
  Overviews: 3001x2001, 1501x1001, 751x501, 376x251, 188x126, 94x63
  Metadata:
    LAYER_TYPE=athematic

All I've got in my style thus far is:

  <Style name="raster">
    <Rule>
      <RasterSymbolizer>
      </RasterSymbolizer>
    </Rule>
  </Style>

When viewing the geotiff in arcmap it sets Red, Green, Blue as
120,123,100 automatically. Is that something read off the file that
gdal isn't seeing or is that something I set myself?

Thanks,
Matt
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to