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

Tumasgiu Rossini rossini.t at gmail.com
Wed Dec 28 19:33:38 PST 2016


Excuse me, I readed this too fast.
Maybe it is because you missed the E modifier before the string literal ?

2016-12-29 0:15 GMT+01:00 Liglio Cavalcante <liglio.pessoal at nexxa.com.br>:

> 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.co
> m/problem-using-st-colormap-in-a-command-string-tp5010778p5010780.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20161229/ac90beda/attachment.html>


More information about the postgis-users mailing list