Hi,
In MapInfo there is a very quick way to get the MBR of all features in a TAB
File:
First:
set coordsys Earth Projection 10, 157, "m", 0 Bounds (-40075016.6856,
-20037508.343) (40075016.6856, 20037508.343)
Second:
TableInfo("name", TAB_INFO_MINX)
TableInfo("name", TAB_INFO_MAXX)
TableInfo("name", TAB_INFO_MINY)
TableInfo("name", TAB_INFO_MAXY)
This is very quick and seems to use some clever way of finding out these
numbers instead of walking through all features and actually calculating the
MBR.
Is there any way to reproduce this with MITAB? I'm using the C# wrapper, if
that matters.
Thank you,
Jelmer Baas
------------------------------------
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:
[email protected]
[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/