Canfield, Andrew wrote:
> How hard would it be to add support for it? Is it only an upper level 
> interface addition or would it involve digging down into the lower stuff in 
> areas like mitab_mapobjectblock.cpp?
> 

To implement complete support for collections in MITAB, we'd need to:

1- Analyze some binary dumps of a couple of sample dataset with 
collections in them to figure the structure of the binary collection 
object in the file. This may not be too hard given a good sample file 
since the object may be similar to the multipoint which is already 
supported.
2- Implement support for reading and writing collection binary objects 
in the .map file
3- Implement a TABCollection class on top of that
4- Implement support or reading/writing collections in MIF files
5- Do any required updates to the C API to expose collections in the 
various methods


> The reason I ask is currently I have an app that is integrated into 
> AutoCAD(an .arx) that allows the user to select an area on the AutoCAD 
> drawing then select a TAB or shp file and it will draw in all the features 
> that intersect that selected area. My company uses it for bringing in taxlots 
> from county GIS datasets. I use MITAB for the TAB import and shapelib for the 
> shp import. I know three of the counties we serve use "Collections" in some 
> areas but until this morning I didn't know that was what they were called we 
> have always called them "aggregate features". The TAB import only imports 
> polygon features(TABFCRegion). The classes I'm using if it helps any are 
> TABFile, TABFeature, TABRegion, and OGRLinearRing. So for me being able to 
> break a collection up and write out any TABRegion features it contains would 
> be very useful.
> 

I think we'd need at least #1-3 above so that you can read in a 
TABCollection object and break it up into separate region objects.

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