[postgis-users] multipoints to raster

Rémi Cura remi.cura at gmail.com
Wed Oct 9 07:40:09 PDT 2013


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 <nadarabus at gmail.com>

> 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
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20131009/9fd8172e/attachment.html>


More information about the postgis-users mailing list