MapTools.org

AW: [Shapelib] SHPObject

shapelib@lists.maptools.org shapelib@lists.maptools.org
Thu, 4 Mar 2004 15:23:13 +0100
Thx now its clear!

Michael

-----Ursprungliche Nachricht-----
Von: shapelib-admin@lists.maptools.org
[mailto:shapelib-admin@lists.maptools.org]
Gesendet: Donnerstag, 4. Marz 2004 15:09
An: shapelib@lists.maptools.org
Betreff: Re: [Shapelib] SHPObject


shapelib-admin@lists.maptools.org wrote:
> Hi,
> i have a question to the SHPObject class.
> If i have a ployline whit 3 points (also two lines), what are the values
of
> nParts and nVertics?

Michael,

If you have a polyline with 3 vertices the nParts would normally be 1 and
the nVertices 3.


> Because im confused if the nVertics are whit or whitout the startvertex,
who
> is saved separate in panPartStart.

The parts concept is primarily used when a polygon has more than one ring.
Each ring is a part.  It is also possible to have multiple unconnected
polylines
as part of an Arc object using different parts, but this is uncommon.

Best regards,
--
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Shapelib mailing list
Shapelib@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/shapelib



This archive was generated by Pipermail.