> 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? >
Yes, st_buffer supports geography type. (though look at the notes: http://postgis.org/documentation/manual-1.5/ST_Buffer.html) Aren't your data already geography, with SRID=4326 ? Nicolas _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
