[FWTools] nodes of shape type GVSHAPE_COLLECTION

Stefan Rasemann stefan_rasemann at arcor.de
Fri Apr 25 12:19:41 EDT 2008

Hi all,

I'm trying to get the node values of a shapefile with a mixture of types 
2 and 4 in the Python shell of OpenEV. Theres no problem accessing the 
Type 2 Shapes with GvShape.get_node() . But I'm not able to acces the 
Shape objects of the shapes type 4 (GVSHAPE_COLLECTION).

- All the shapes are displayed correctly in OpenEV.
- GvShape.collection_get_count() returns the correct number of  shapes 
inside the collection.
- GvShape.get_shape() returns the names as Strings.
- GvShape.get_nodes() returns 0, no matter whether a ring is specified 
or not.

Is there a chance to read the node values of the type 4 shapes? And if 
yes, how?

Many thanks in advance,

BTW, using FWTools 220

More information about the FWTools mailing list