Thanks for the tip! Do you recommend a "suitable projection" for the buffer operation that will not produce distorted buffers?
On Fri, Mar 2, 2012 at 7:15 PM, <pcr...@pcreso.com> wrote: > ST_Buffer(<linestring>, distance) > > http://www.postgis.org/docs/ST_Buffer.html > > > Note that if your data is lat/long (such as EPSG:4326) with units in > degrees, then you will get somewhat distorted buffer distances, and a > better result by transforming your linestring to a more suitable projection > for the buffer operation, then transform it back. > > eg: > > ST_Transform(ST_Buffer(ST_Transform(<linestring>, SRID), distance),4326) > > HTH, > > Brent Wood > --- On *Fri, 3/2/12, Ed Linde <edoli...@gmail.com>* wrote: > > > From: Ed Linde <edoli...@gmail.com> > Subject: [postgis-users] Forming a BAND around a linestring > To: "PostGIS Users Discussion" <postgis-users@postgis.refractions.net> > Date: Friday, March 2, 2012, 11:17 PM > > > Hi All, > I have a set of points with (x,y) co-ordinates that belong to a single > object ex: a segment in a road network. > If we made a LINESTRING that connected these points (x,y), then I would > like to have a BAND or RANGE > around the linestring of say 10 meters wide that would probably make it > look more like a polygon or some > area. How can I achieve this in postgis 2.0? Do I need to use some library > like GDAL in order to achieve this? > > Cheers, > Ed > > -----Inline Attachment Follows----- > > _______________________________________________ > postgis-users mailing list > postgis-users@postgis.refractions.net<http://mc/compose?to=postgis-users@postgis.refractions.net> > http://postgis.refractions.net/mailman/listinfo/postgis-users > >
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users