bykovkv wrote:
> Hi all again.
> 
> I wish to know how MITAB will return coords by get_vertex functions for 
> next types of features: Arc,Rectangle,Ellipse,Multipoint,Collection.

You should test each feature type to double-check, but off the top of my 
head, here is what I think each type should return:

Arc: 1 part, with a set of points representing the arc as a polyline 
with a step of 2 degrees between each point.

Rectangle: 1 part, with the set of points representing the rectangle as 
a polygon. If the rectangle has rounded corners then the polygon has 
rounded corners with a step of 2 degrees between the points.

Ellipse: 1 part, with the set of points representing the ellipse as a 
polygon, with a step of 2 degrees between the points.


> It's also interesting, is multipoint a set of parts with single point 
> in each one, or it's single part with set of vertexes?

Multipoint: 1 part, with a set of points

> About collection -- i ran out of my mind to understand what's it.
> It is only possible to store no more than one subfeature in collection 
> per each simple type? Oralocator is able to store theoretically huge 
> amount of features, regardless of their types.
> 

A MapInfo collection is a feature composed of one region, one multipline 
and one multipoint. See the MIF spec at 
http://www.directionsmag.com/mapinfo-l/mif/AppJ.pdf for the definition 
of a collection.

MITAB just maps that concept of collection. You use 
mitab_c_get_collection_region_ref(), 
mitab_c_get_collection_polyline_ref() and 
mitab_c_get_collection_multipoint_ref() to retrieve the corresponding 
components of a collection feature and then use the usual methods to 
retrieve the parts and points from each one.


Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mitab/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/mitab/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to