Skip to main content
Question

Palette Name

  • November 23, 2012
  • 3 replies
  • 13 views

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
How do I change/or add a Palette Name of a raster?

3 replies

sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • November 23, 2012

jdh
Contributor
Forum|alt.badge.img+28
  • Author
  • Contributor
  • November 23, 2012
Yes,

 

 

I can manipulate the palette values easily enough, change the interpretation, but I can't find how to change the name of the palette.

 

 

Joanna

sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • November 23, 2012
Not sure if you can change the name of the Palette to "anything", 

 

 

"Palette Properties Rasters contain a set of metadata that defines the properties for each palette. These properties include the palette name, key and value interpretation, key and value bitdepth, 'nodata' key and value. Interpretation on palettes works in much the same way as it does on bands. The interpretation of a palette key must match the interpretation of the related band. Valid palette key interpretations are UInt8, UInt16, and UInt32. The palette value interpretation may be a color model such as RGB or RGBA or string data. Valid palette value interpretations are RGB24, RGBA32, RGB48, RGBA64, Gray8, Gray16, and String. A palette does not directly store 'nodata' values however since the palette keys are intended to match the band values, which can store ‘nodata’, a single palette key can be interpreted as ‘nodata’ if it matched the band ‘nodata’ value. This nodata key also looks up to a palette value which is then considered the 'nodata' value. A nodata value may not exist without a nodata key."

 

 

From: http://docs.safe.com/fme/pdf/FMEReadersWriters.pdf

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings