<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>ST_Buffer</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Arial">I am completely new to PostGIS and I appear to be falling at the first hurdle. </FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Arial">Trying the example in the documentation (</FONT></SPAN><A HREF="http://postgis.refractions.net/documentation/manual-1.5/ST_Buffer.html"><SPAN LANG="en-gb"><U><FONT COLOR="#0000FF" FACE="Times New Roman">http://postgis.refractions.net/documentation/manual-1.5/ST_Buffer.html</FONT></U></SPAN></A><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Arial">): </FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">SELECT ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50); </FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">works fine while:</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">SELECT ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50, 'quad_segs=4');</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Gives a syntax error and</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">SELECT ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50, 4);</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">crashes the server.</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">What am I doing wrong?</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Versions:</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">PostgreSQL 8.4.5 on Windows 7</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">POstGIS 1.5.2</FONT></SPAN>
<BR><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Thanks Dave</FONT></SPAN>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>