Closed Polygon

Ken Lord kenlord at GMAIL.COM
Mon Jan 17 15:03:43 PST 2005


I knew that BCIT course was good for something ..

bango! ...

http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf

Page 12 defines what a polygon is according to the ESRI Shapefile format.

"A polygon consists of one or more rings. A ring is a connected
sequence of four or more points that form a closed,
non-self-intersecting loop."

Think of it this way, the simplest polygon is a triangle, but it takes
the four points to describe a polygon in a shapefile, therefore the
start and end point must be the same.

Page 13 lists some important points about polygons, one of which
explicitly states that the start and end points must be the same.

Cheers,
Ken Lord
Vancouver BC




On Mon, 17 Jan 2005 15:09:06 -0500, Rick Levine
<Richard_D_Levine at raytheon.com> wrote:
> Can anyone point me to a URL that defines a close polygon as one in which
> the last point equals the first?
>
> I'm in the middle of a raging debate (tempest in a teapot) of what a closed
> polygon is.  I'm getting polygons in XML from other systems where the XML
> schema defines polygons as closed.  Some of the other systems disagree
> about what this means.
>
> BTW: I Googled and looked at opengis.org, but it seems no one bothers to
> define something so obvious.
>
> Thanks, and sorry for being a little off topic.
>
> Rick
>
> CONFIDENTIALITY: This email contains no useful information.  Ignore it.



More information about the MapServer-users mailing list