[postgis-users] ST_Buffer
George Silva
georger.silva at gmail.com
Tue Nov 30 08:31:33 PST 2010
This works for me:
SELECT
st_asText(ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50,4)),
st_astext(ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50,'quad_segs=4'));
---
"POLYGON((150 90,146.193976625564 70.8658283817455,135.355339059327
54.6446609406727,119.134171618255 43.8060233744357,100 40,80.8658283817456
43.8060233744356,64.6446609406727 54.6446609406725,53.8060233744357
70.8658283817454,50 89.9999999999998,53.8060233744356
109.134171618254,64.6446609406725 125.355339059327,80.8658283817453
136.193976625564,99.9999999999998 140,119.134171618254
136.193976625564,135.355339059327 125.355339059328,146.193976625564
109.134171618255,150 90))"
"POLYGON((150 90,146.193976625564 70.8658283817455,135.355339059327
54.6446609406727,119.134171618255 43.8060233744357,100 40,80.8658283817456
43.8060233744356,64.6446609406727 54.6446609406725,53.8060233744357
70.8658283817454,50 89.9999999999998,53.8060233744356
109.134171618254,64.6446609406725 125.355339059327,80.8658283817453
136.193976625564,99.9999999999998 140,119.134171618254
136.193976625564,135.355339059327 125.355339059328,146.193976625564
109.134171618255,150 90))"
select postgis_full_version()
"POSTGIS="1.5.2" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.6.1, 21 August 2008"
LIBXML="2.7.6" USE_STATS"
Operating system:
Windows 7
PostgreSQL 8.3
On Tue, Nov 30, 2010 at 2:26 PM, Paul Ramsey <pramsey at opengeo.org> wrote:
> Har har. Sounds like we need a ticket on that.
>
> P
>
> On Tue, Nov 30, 2010 at 8:12 AM, strk <strk at keybit.net> wrote:
> > On Tue, Nov 30, 2010 at 03:51:14PM -0000, dave at inventium.co.uk wrote:
> >
> >> PostgreSQL 8.4.5 on Windows 7
> >> What am I doing wrong?
> >
> > You're using proprietary software!
> >
> > --strk;
> >
> > () Free GIS & Flash consultant/developer
> > /\ http://strk.keybit.net/services.html
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> >
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
--
George R. C. Silva
Desenvolvimento em GIS
http://blog.geoprocessamento.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20101130/beefcd67/attachment.html>
More information about the postgis-users
mailing list