[postgis-users] postgis on fedora ...

Michael Fuhr mike at fuhr.org
Sun Nov 26 10:06:36 PST 2006


On Sun, Nov 26, 2006 at 11:21:03PM +0530, Sandeep Kumar Jakkaraju wrote:
> Thanx for your reply ...but my geometry has 5 points ..
> please see the attached file ..

The polygons in the first half of the file (lines 1-48) don't have
five points but rather five rings, each with one point.  The first
one is:

POLYGON((0 0),(280 0),(280 280),(0 280),(0 0))

The polygons in the second half of the file (lines 49-96) appear
to be duplicates of those in the first half, but with one ring of
five points:

POLYGON((0 0,280 0,280 280,0 280,0 0))

> I get all the polygons for isvalid() and also for NOT isvalid() ...

Are you sure?  Or are you getting the 48 good polygons (one ring
of five points) for isvalid() and the 48 bad polygons (five rings
of one point each) for NOT isvalid()?

-- 
Michael Fuhr



More information about the postgis-users mailing list