[Xastir] A snapshot of the missing island

Curt Mills, WE7U hacker at tc.fluke.com
Fri Apr 25 15:52:42 EDT 2003


On Thu, 24 Apr 2003, Jack Twilley wrote:

>Curt> It could be.  There's one minor little itty bitty piece of the
>Curt> Shapefile spec that we didn't implement.  It has to do with the
>Curt> direction of the polygon, whether it is clockwise or
>Curt> counterclockwise.  One direction means do a fill.  The other
>Curt> means it's a hole in the polygon.  We didn't implement the hole.
>Curt> Our donuts look more like biscuits.

>If there's no donut hole, there's no island.  Right?  What about a
>lake in the center of an island in the center of a bay?  Am I the only
>one who actually wonders about these things? :-)

An island in the lake on the island in the center of the bay?

A lake on the island in the lake on the island in the center of the
bay?

Yea, you _are_ the only one that thinks about these things, and it's
kind'a scary.


>I've made these files available on my website:

I'll go look at those in a minute or two.


>I don't seem to have shpdump, but ogrinfo tells me plenty about the
>shapefiles.  They have two polygons, one of which appears to be the
>island in question.

It should be in either the main directory for Shapelib or in the
contrib/ directory in Shapelib.  You may have to type "make" in the
contrib directory to get it.  Copy dbfinfo/dbfdump/shpinfo/shpdump
into /usr/local/bin for future use.

-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list