[postgis-users] Rasterize a vector
Bborie Park
bkpark at ucdavis.edu
Tue May 29 10:03:32 PDT 2012
On 05/29/2012 07:20 AM, Paolo Cavallini wrote:
> Il 29/05/2012 16:12, Pierre Racine ha scritto:
>> There are more parameters to ST_AsRaster to align the raster you produce. You can align on an existing raster or provide all the parameters (scalex, scaley, gridx, gridy) to align it.
>>
>> See http://postgis.refractions.net/documentation/manual-svn/RT_ST_AsRaster.html
>
> yes, I have read it, but I think it is (should be) much easier to use an existing raster:
> ST_AsRaster(geometry geom, raster ref...
> thanks.
Read it again. The very first variant listed on that page has the
ST_AsRaster(geom geometry, rast raster, ...)
-bborie
--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu
More information about the postgis-users
mailing list