Hey,
maybe using straight conversion :
http://postgis.refractions.net/docs/RT_ST_AsRaster.html

I don't know about the Z attribute.
If it doesn't work with point, maybe bufferize it.

Cheers,

Rémi-C


2013/10/9 Radan Šuba <[email protected]>

> Hi all,
>
> I want to create raster from multipoints geometry where value of pixels is
> Z value of points. I want to do everything in the database. Is there any
> simple query for that?
> So far, I have found the quite complicated way: First create a empty
> raster with ST_MakeEmptyRaster, secondly ST_AddBand and at the end
> ST_SetValues which is new functions release recently (PostGIS version 2.1).
> I am wondering how have these conversion been done until now?
>
> Thank for any answer
> Radan
>
> _______________________________________________
> postgis-users mailing list
> [email protected]
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to