<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2>Should be able to. I usually just do the
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2>ST_Buffer(geometry, double)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2>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).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2>Making this bigger will make your buffer more accurate but
will make your geometry more hefty I think.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2>hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2>Regina</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734104619-07062008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
postgis-users-bounces@postgis.refractions.net
[mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of </B>RAVI
KUMAR<BR><B>Sent:</B> Saturday, June 07, 2008 12:37 AM<BR><B>To:</B>
postgis<BR><B>Subject:</B> [postgis-users] Buffer<BR></FONT><BR></DIV>
<DIV></DIV>Hi all,<BR>am attempting mineral prognostication.<BR>Input:
Have a shape files with Linear features<BR>Can I buffer this with 'width'
taken from the shape files attribute = buf-width<BR><BR>Output: The result to
contain a polygon layer with the Input's liear features grown as buffers
depending on the attribute= buf-width.<BR><BR>Have seen the PostGIS mnnual and
found the following only.<BR><SPAN class=term>ST_Buffer(geometry, double,
[integer]) </SPAN><BR><BR>Can this work as suggested ?<BR><BR>Cheers<BR>Ravi
Kumar<BR>
<P></P></BODY></HTML>