<div dir="ltr"><div>Sure :<br><br>   strColorMap &= "nv 0 0 0 0\n"<br>  
strCores &= val_nivel1 & " 255 0 145 255\n"<br>  
strCores &= val_nivel2 & " 181 19 111 255\n"<br>  
strCores &= val_nivel3 & " 19 0 104 255\n"<br>   strCommand = "SELECT ST_ColorMap( rast, E'" + strColorMap + "') as rast FROM tb_rasterdensity"<br><br></div>See <a href="http://www.postgresql.org/docs/9.6/static/sql-syntax-lexical.html">www.postgresql.org/docs/9.6/static/sql-syntax-lexical.html</a>  4.1.2.2.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-29 13:57 GMT+01:00 Liglio Cavalcante <span dir="ltr"><<a href="mailto:liglio.pessoal@nexxa.com.br" target="_blank">liglio.pessoal@nexxa.com.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I 'm sorry, but I don't understand "missed the E modifier before the string<br>
literal". Can you show me in my code ?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://postgis.17.x6.nabble.com/problem-using-st-colormap-in-a-command-string-tp5010778p5010784.html" rel="noreferrer" target="_blank">http://postgis.17.x6.nabble.<wbr>com/problem-using-st-colormap-<wbr>in-a-command-string-<wbr>tp5010778p5010784.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a></div></div></blockquote></div><br></div>