<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px"><div id="yiv2236042167"><div id="yui_3_16_0_1_1452761716084_6227"><div id="yui_3_16_0_1_1452761716084_6226" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px;"><div id="yui_3_16_0_1_1452761716084_6392">Dear Markus</div><div id="yui_3_16_0_1_1452761716084_6427" dir="ltr">thanks a lot. It partly did the trick.<br></div><div id="yui_3_16_0_1_1452761716084_6887" dir="ltr">When using those settings in r.out.gdal, as you suggested,  it did preserve the colors as you said.  But , it also creates a long palette of colors that makes the rendering in ArcGIS  very slow specially for large tiffs . On the other hand, the RGB as produced by r.out.tiff (GRASS 6.4)  get rendered faster. For the time being it is a vailable solution, specially for small  datasets. <br></div><div id="yui_3_16_0_1_1452761716084_6974" dir="ltr">For large datasets I am going to stick to r.out.tiff OR a  give try to a pure gdal approach using the hsv_merge.py script create by frank warmedam as suggested in this site</div><div id="yui_3_16_0_1_1452761716084_7107" dir="ltr"><a id="yui_3_16_0_1_1452761716084_7108" href="http://linfiniti.com/2010/12/a-workflow-for-creating-beautiful-relief-shaded-dems-using-gdal/">A workflow for creating beautiful relief shaded dems using GDAL</a></div><div id="yui_3_16_0_1_1452761716084_7290" dir="ltr"><br></div><div style="width:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5px; margin-bottom: 5px; background-color: #ffffff;" id="enhancrCard_0" class="link-enhancr-attachment link-enhancr-element " contenteditable="false"><table id="yui_3_16_0_1_1452761716084_7136" class="link-enhancr-element" style="width:450px; height:170px; position: relative; display: block;" border="0" cellpadding="0" cellspacing="0"><tbody id="yui_3_16_0_1_1452761716084_7135"><tr class="link-enhancr-element"><td class="link-enhancr-element" colspan="8" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px;"> </div></td></tr><tr id="yui_3_16_0_1_1452761716084_7375" class="link-enhancr-element"><td rowspan="5" class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td><td id="yui_3_16_0_1_1452761716084_7374" class="link-enhancr-element link-enhancr-image-wrap enhancr-image-crop" rowspan="5" style="vertical-align: middle; width: 168px; height: 168px; background-color: rgb(255, 255, 255); border-collapse: collapse;"><div id="yui_3_16_0_1_1452761716084_7373" class="link-enhancr-element" style="width: 168px;" align="center"><a id="yui_3_16_0_1_1452761716084_7372" href="http://linfiniti.com/2010/12/a-workflow-for-creating-beautiful-relief-shaded-dems-using-gdal/" class="link-enhancr-card-urlWrapper link-enhancr-element" style="text-decoration: none !important;text-decoration:none; color: #000000 !important;"><img id="yui_3_16_0_1_1452761716084_7371" data-id="48839aaa-ebcd-019c-803f-8104d8a5482a" alt="image" src="https://s.yimg.com/vv//api/res/1.2/SQnm5BUOLoAZ_Ek_bcEBzQ--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MTY4O3c9MTY4/http://linfiniti.com/wp-content/uploads/2010/12/image07.jpeg.cf.jpg" class="link-enhancr-thumbnail-image link-enhancr-element yahoo-ignore-inline-image" style="display: block; margin: auto;" height="168" width="168"></a></div></td><td rowspan="5" class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td><td rowspan="5" class="link-enhancr-element" style="width: 14px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 14px; background-color: #ffffff; font-size: 14pt;"> </div></td><td colspan="2" class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 6pt;"> </div></td><td rowspan="5" class="link-enhancr-element" style="width: 20px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 20px; background-color: #ffffff; font-size: 20pt;"> </div></td><td class="link-enhancr-element" rowspan="5" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;" width="1"><div class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td></tr><tr id="yui_3_16_0_1_1452761716084_7317"><td id="yui_3_16_0_1_1452761716084_7316" class="link-enhancr-element" colspan="2" style="width: 100%; vertical-align: middle; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';"><div id="yui_3_16_0_1_1452761716084_7315" class="link-enhancr-text-part link-enhancr-element" style="line-height:16.5px; background-color: #ffffff; height: 135px; width: 245px;"><div id="yui_3_16_0_1_1452761716084_7314" class="link-enhancr-element" style="word-wrap: break-word; word-break: break-all;"><span class="link-enhancr-element icon  icon-shrink link-enhancr-toggle"></span><span class="link-enhancr-element icon icon-close link-enhancr-delete"></span><a href="http://linfiniti.com/2010/12/a-workflow-for-creating-beautiful-relief-shaded-dems-using-gdal/" class="link-enhancr-card-urlWrapper link-enhancr-element" style="text-decoration: none !important;text-decoration:none; color: #000000 !important; line-height: 100%; font-size: 18px; display: block;"><span class="link-enhancr-element link-enhancr-card-title" style="margin: 0; font-weight: normal;margin-bottom: 3px; font-size: 18px; line-height: 21px; max-height: 43px; color: #000000; overflow: hidden !important; display: inline-block;">A workflow for creating beautiful relief shaded dems usi...</span></a><div id="yui_3_16_0_1_1452761716084_7313" style="font-size: 13px; line-height: 20px; color: #999999; max-height: 81px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';overflow: hidden;" class="link-enhancr-card-description link-enhancr-element">A workflow for creating beautiful relief shaded dems using GDAL Posted December 5, 2010 by Tim Sutton & filed under gdal, General FOSSGIS, Linux and Ubuntu, QGIS. </div></div></div></td></tr><tr id="yui_3_16_0_1_1452761716084_7320"><td id="yui_3_16_0_1_1452761716084_7319" colspan="2" class="link-enhancr-element" style="height: 4px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div id="yui_3_16_0_1_1452761716084_7318" class="link-enhancr-element" style="height: 4px; background-color: #ffffff; font-size: 4pt;"></div></td></tr><tr id="yui_3_16_0_1_1452761716084_7134"><td class="link-enhancr-element" style="vertical-align: middle; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="link-enhancr-element" style="font-size: 0pt;"><a href="http://linfiniti.com/2010/12/a-workflow-for-creating-beautiful-relief-shaded-dems-using-gdal/" class="link-enhancr-card-url link-enhancr-element" style="color: black; text-decoration: none !important;text-decoration:none;cursor:pointer !important;" target="_blank"><span id="yui_3_16_0_1_1452761716084_7124" class="link-enhancr-element link-enhancr-view-on" style="display: inline-block; line-height: 11px; max-width: 145px; min-width: 85px; overflow: hidden; max-height: 13px; word-break: break-all;"><span class="link-enhancr-element link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Auf <span style="font-weight: bold" class="link-enhancr-view-on-domain">linfiniti.com</span> anzeigen</span></span></a></div></td><td id="yui_3_16_0_1_1452761716084_7133" class="link-enhancr-element" style="vertical-align: middle; width: 100px; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div id="yui_3_16_0_1_1452761716084_7132" class="link-enhancr-element link-enhancr-preview-wrapper" style="max-width: 100px; min-width: 80px; overflow: hidden; text-align: right; line-height: 11px; max-height: 13px; font-size: 0pt;"><span class="link-enhancr-element link-enhancr-preview-by link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Vorschau nach Yahoo</span></div></td></tr><tr id="yui_3_16_0_1_1452761716084_7323"><td id="yui_3_16_0_1_1452761716084_7322" colspan="2" class="link-enhancr-element" style="height: 9px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div id="yui_3_16_0_1_1452761716084_7321" class="link-enhancr-element" style="height: 9px; background-color: #ffffff; font-size: 9pt;"></div></td></tr><tr class="link-enhancr-element"><td class="link-enhancr-element" colspan="8" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px"> </div></td></tr></tbody></table></div><div id="yui_3_16_0_1_1452761716084_7088" dir="ltr"><br></div><div id="yui_3_16_0_1_1452761716084_6638" dir="ltr">Thanks to everbody who contributed  so gently to  this discussion.</div><div id="yui_3_16_0_1_1452761716084_7206" dir="ltr"><br></div><div id="yui_3_16_0_1_1452761716084_7207" dir="ltr">Best regards <br></div><div id="yui_3_16_0_1_1452761716084_7385" dir="ltr">Rengifo Ortega<br></div><div id="yui_3_16_0_1_1452761716084_7162" dir="ltr"><br></div><div id="yui_3_16_0_1_1452761716084_7278" dir="ltr"><br></div><div id="yui_3_16_0_1_1452761716084_6711" dir="ltr"><br></div><div><span></span></div> <div id="yui_3_16_0_1_1452761716084_6225" class="yiv2236042167qtdSeparateBR"><br clear="none"><br clear="none"></div></div></div></div><div id="yui_3_16_0_1_1452761716084_6364" class=".yiv2236042167yahoo_quoted"> <div id="yui_3_16_0_1_1452761716084_6363" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px;"> <div id="yui_3_16_0_1_1452761716084_6362" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="yui_3_16_0_1_1452761716084_6677" dir="ltr"><font id="yui_3_16_0_1_1452761716084_6724" size="2" face="Arial"> Markus Neteler <neteler@osgeo.org> schrieb am 1:04 Donnerstag, 14.Januar 2016:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div id="yui_3_16_0_1_1452761716084_6361" class="qtdSeparateBR"><br><br></div><div class="yiv2236042167yqt7203871034" id="yiv2236042167yqt07760"><div id="yui_3_16_0_1_1452761716084_6659" class="yiv2236042167y_msg_container"><div id="yiv2236042167"><div id="yui_3_16_0_1_1452761716084_6658"><div id="yui_3_16_0_1_1452761716084_6657" dir="ltr"><br clear="none">
On Jan 14, 2016 12:52 AM, "Anna Petrášová" <<a id="yui_3_16_0_1_1452761716084_6656" rel="nofollow" shape="rect" ymailto="mailto:kratochanna@gmail.com" target="_blank" href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:<br clear="none">
><br clear="none">
> I tried on a raster with similar range of values as you do and when I don't specify the type it will automatically select UInt16 and I can then open it in ArcMap without problems and with the colors preserved.</div>
<div dir="ltr">This requires, I suppose, GRASS GIS 7.0.1 or later.</div>
<div class="yiv2236042167yqt3415854478" id="yiv2236042167yqtfd35832"><div dir="ltr">Markus</div></div></div></div><br clear="none"><br clear="none"></div></div>  </div> </div>  </div></div></body></html>