Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a single band raster, but i like to export it with the same colors as in Arcmap.

Any help please.

share|improve this question
    
What format would you like to export it to? –  Fezter Jul 23 '13 at 23:48
    
i wanted to export it to geotiff, but i have found a blog post concerning the issue but on Qgis linfiniti.com/2011/12/creating-coloured-rasters-with-gdal –  geogeek Jul 24 '13 at 22:38
add comment

3 Answers 3

up vote 2 down vote accepted

You can create and save a color map to achieve what you want. Keep in mind that for geotiffs, colormaps are supported only with certain bit depths. ArcGIS Help 10.2 has excellent instructions on creating a color map (.clr) file:

Steps:

  1. Add a single-band raster dataset to ArcMap.
  2. Right-click the raster dataset in the table of contents and click Properties.
  3. Click the Symbology tab.
  4. Choose the Unique Values renderer.
  5. Edit the symbol color to the appropriate color for each value. You can edit each symbol color, or you can choose a preset color ramp.
  6. When you are ready to save the color scheme, click the Colormap button and click Export a Colormap.
  7. Choose the location and name to save the .clr file and click Save. Once a .clr file is created, the Add Colormap tool can be used to apply the color to a raster dataset. The .clr file can be edited in a text editor, but be sure to only use spaces between values in each row in the file.
share|improve this answer
add comment

The colors you see in ArcMap are merely a graphical representation of your data. When you load a new data file into ArcMap, it will randomly assign a color scheme to it. If what you want is to load the data with the same color scheme every time, you will want to look into Saving a Layer File. Your other option, if this is not what you are looking to do, is to export the graphical representation of the data as an image (map export).

share|improve this answer
add comment

If you want to export the Image, such that it will be exported with the same render as you have in ArcMap, you need to check the 'Use Renderer' check box on the Export Raster Data dialog. Fore more details, see this Article: Exporting a raster in ArcMap

share|improve this answer
    
i tried to export the raster with render and force RGB options, but it do not export with the colors used in the layer. –  geogeek Apr 9 '13 at 8:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.