[postgis-users] ST_Buffer

Ed Linde edolinde at gmail.com
Thu Mar 22 05:17:59 PDT 2012


Hi,

If I have a linestring which is in srid = 4326, how can I compute the
ST_Buffer so that I have 2m on each side of the line?
I mean SRID 4326 is in degrees, so how can I make the query return me a
buffer around the linestring which has 2m radius?
Do I first convert to geography and then compute the buffer? and then
convert back to geometry?

Thanks,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120322/3b40a9a3/attachment.html>


More information about the postgis-users mailing list