[postgis-users] multipoints to raster

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Wed Oct 9 07:43:13 PDT 2013


What if many points fall into a pixel?

Pierre

> -----Original Message-----
> From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-
> bounces at lists.osgeo.org] On Behalf Of Radan Šuba
> Sent: Wednesday, October 09, 2013 10:37 AM
> To: postgis-users at lists.osgeo.org
> Subject: [postgis-users] multipoints to raster
> 
> 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


More information about the postgis-users mailing list