Select to view content in your preferred language

Change Raster symbology

618
1
03-15-2013 07:14 PM
babakkasraei
Emerging Contributor
When I use python codes to add rasters to my map the raster symbology chenges to stretched. I like it to be colormap.

How can I change it to colormap using python codes without keeping a template in my map.

Please see the picture.

Thanks for help.

Babak

[ATTACH=CONFIG]22665[/ATTACH]
Tags (2)
0 Kudos
1 Reply
JeffBarrette
Esri Regular Contributor
You will need to add a raster layer file that is set to the appropriate renderer.  You can use either AddLayer, InsertLayer or UpdateLayer to accomplish this.

Jeff
0 Kudos