[geos-devel] truncated buffer result
Martin Davis
mbdavis at VividSolutions.com
Fri Mar 10 11:32:58 EST 2006
The documentation & isSimple method assumes a valid geometry as input
(like all JTS methods). Given this, Polygon.isSimple always returns
true.
Martin Davis, Senior Technical Architect
Vivid Solutions Inc. www.vividsolutions.com
Suite #1A-2328 Government Street Victoria, B.C. V8T 5G5
Phone: (250) 385 6040 - Local 308 Fax: (250) 385 6046
> -----Original Message-----
> From: geos-devel-bounces at geos.refractions.net
> [mailto:geos-devel-bounces at geos.refractions.net] On Behalf Of
> Pierre GIRAUD
> Sent: March 10, 2006 3:49 AM
> To: GEOS Development List
> Subject: Re: [geos-devel] truncated buffer result
>
>
> Hum it works.
>
> Note : the documentation doesn't match ?
>
> ----------
> IsSimple(geometry)
>
> Returns 1 (TRUE) if this Geometry has no anomalous
> geometric points, such as self intersection or self tangency.
>
> Performed by the GEOS module
>
> OGC SPEC s2.1.1.1
> ----------
>
> On 3/10/06, strk at refractions.net <strk at refractions.net> wrote:
> > On Fri, Mar 10, 2006 at 10:47:13AM +0100, Pierre GIRAUD wrote:
> > > Hum, I didn't check that because it wasn't expected for
> those data.
> > >
> > > I feel embarrassed because issimple on this geometry returns true.
> > >
> > > SELECT issimple(geometryfromtext('POLYGON((663194 1796327,663281
> > > 1796368,663226 1796300,663194 1796327.1,663194 1796327))'));
> >
> > You should use isvalid() instead.
> > --strk;
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> >
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
>
More information about the geos-devel
mailing list