Canfield, Andrew wrote:
> Can somebody clarify for me if they know off the top of their head what is 
> returned now if the object belongs to a collection? IE say I am calling 
> getNextFeature or something similar to iterate over all the objects in a 
> table do objects that belong to a collection return or are they skipped?
> 

The object would be returned with a NONE geometry (i.e. no geometry) and 
the following warning would be produced by the library or by tab2tab.exe:

    "Unsupported object type %d (0x%2.2x).  Feature will be returned
     with NONE geometry."

I didn't test this, but if you use the C API then I think 
mitab_c_getlasterrorno() should return code 501 
(TAB_WarningFeatureTypeNotSupported) in this case.

Note that this is just a warning and not an error, so it should not 
abort processing (I don't think so anyway).

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               [EMAIL PROTECTED]
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------





 
Yahoo! Groups Links

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

<*> 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