[postgis-users] ST_Buffer + grid problem

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Thu Mar 22 10:28:11 PDT 2012


> I can try that ... but I am away from the office now. So will have to give it a shot
> tomorrow morning! :) Will let you know if that fixes it. But should I download
> the source and build GDAL 1.9?

On which OS are you? You should not have to build it as it has been released a while ago.

Otherwise you can also replace 

ST_AsRaster(ST_Extent(way_geom)::geometry, 0.000036, 0.000036) 

with the proper ST_MakeEmptyRaster() call:

http://postgis.refractions.net/documentation/manual-svn/RT_ST_MakeEmptyRaster.html

Pierre





More information about the postgis-users mailing list