|
Hi Tim
The seamless table has a normal table at its root.
So the MAP file for the seamless table contains region objects that represent
the MBR extents of each base table. Its a similar concept to the spatial index
within the MAP file and allows vector layers to exceed the 2 GB limit as well as
allowing rendering of multiple rasters.
I have not used MITAB. However if you can render
regions from a MapInfo table, and you can render a single raster table then you
should be able to render the seamless as well.
You will need to read from the base table all the
MBRs that intersect your area of interest. This is the same as reading all the
regions that intersect your area of interest in a normal vector table. Having
done this use the record number to read into the DAT file to get the Table name.
This is similar to the technique needed to be able to thematically render where
again you need to read the DAT record to be able to decide the render style
based on attribution. I assume MITAB allows you to retrieve from the DAT file,
but if it doesn't they are fixed length records, and the structure is defined
both at the top of the DAT file and within the TAB file.
Now you have the table name you can read the TAB
file for each raster so that you can render the raster in the appropriate
position - the same as you would for a single image.
To render a seamless vector table you need to make
your code recursive so that you can step down through possibly more than one
level but I would have expected your seamless raster to only be one level
deep ie the base table points directly to the raster tables.
If you need more guidance feel free to get in
touch.
Hope this answer doesnt take 12 hours to reach you.
Having assumed the last message was not making it - after no activity for 12
hours - I posted a second and as you probably saw they both arrived virtually
together!
Regards
Bob
__._,_.___ YAHOO! GROUPS LINKS
__,_._,___ |
- [mitab] Locating features in a particular area scumhampton
- Re: [mitab] Locating features in a particular area Daniel Morissette
- Re: [mitab] Locating features in a particular area Bob Young
- RE: [mitab] Locating features in a particular area Tim Smith
- Re: [mitab] Locating features in a particular a... Daniel Morissette
- RE: [mitab] Locating features in a particular area Tim Smith
- Re: [mitab] Locating features in a particular a... Bob Young
- RE: [mitab] Locating features in a particular area Tim Smith
- RE: [mitab] Locating features in a particular area Tim Smith
