[postgis-users] problem using st_colormap in a command string

Liglio Cavalcante liglio.pessoal at nexxa.com.br
Wed Dec 28 15:15:53 PST 2016


I already tried several characters, including "Environement.Newline", "\r\n",
Chr(15), Chr(13). It does not work, the string looks like this using Chr(13)
in a VB.NET code: 

SELECT ST_ColorMap( rast, '" & vbCr & "nv 0 0 0 0" & vbCr & "0.5 255 0 145
255" & vbCr & "1 181 19 111  255" & vbCr & "3 19 0 104  255" & vbCr & "') as
rast FROM tb_rasterdensity, 'GTiff', NULL, 4326)

Maybe the st_colormap, must implement a character to be interpreted to a
line feed (ex: "|").





--
View this message in context: http://postgis.17.x6.nabble.com/problem-using-st-colormap-in-a-command-string-tp5010778p5010780.html
Sent from the PostGIS - User mailing list archive at Nabble.com.


More information about the postgis-users mailing list