Sure : strColorMap &= "nv 0 0 0 0\n" strCores &= val_nivel1 & " 255 0 145 255\n" strCores &= val_nivel2 & " 181 19 111 255\n" strCores &= val_nivel3 & " 19 0 104 255\n" strCommand = "SELECT ST_ColorMap( rast, E'" + strColorMap + "') as rast FROM tb_rasterdensity"
See www.postgresql.org/docs/9.6/static/sql-syntax-lexical.html 4.1.2.2. 2016-12-29 13:57 GMT+01:00 Liglio Cavalcante <[email protected]>: > I 'm sorry, but I don't understand "missed the E modifier before the string > literal". Can you show me in my code ? > > > > -- > View this message in context: http://postgis.17.x6.nabble. > com/problem-using-st-colormap-in-a-command-string-tp5010778p5010784.html > Sent from the PostGIS - User mailing list archive at Nabble.com. > _______________________________________________ > postgis-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/postgis-users >
_______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/postgis-users
