[postgis-users] Buffer

Paragon Corporation lr at pcorp.us
Sat Jun 7 12:48:50 PDT 2008


Should be able to.  I usually just do the 
 
ST_Buffer(geometry, double)
 
Where double is the expanse in units of your spatial ref.  So If I
understand you correctly, you would put your buf-width in that slot.
 
The last argument I think defaults to 8 and it basically the approximation
you want to a circular radius  (e.g. controls how many vertexes you end up
with).
 
Making this bigger will make your buffer more accurate but will make your
geometry more hefty I think.
 
hope that helps,
Regina
 
 

  _____  

From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of RAVI
KUMAR
Sent: Saturday, June 07, 2008 12:37 AM
To: postgis
Subject: [postgis-users] Buffer


Hi all,
am attempting mineral prognostication.
Input:  Have a shape files with Linear features
Can I buffer this with  'width' taken from the shape files attribute =
buf-width

Output: The result to contain a polygon layer with the Input's liear
features grown as buffers depending on the attribute= buf-width.

Have seen the PostGIS mnnual and found the following only.
ST_Buffer(geometry, double, [integer]) 

Can this work as suggested ?

Cheers
Ravi Kumar


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080607/b9c529a0/attachment.html>


More information about the postgis-users mailing list