Sure - RTFM :-)

But handy shortcuts are also an essential part of ones programming toolbox.

The four GET statements are very simple to use, and the MAP file format 
(header) hasn't changed for a loooong time.

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/

----- Original Message ----- 
From: "Uffe Kousgaard" <[EMAIL PROTECTED]>
To: "Mapinfo-L" <[email protected]>
Sent: Thursday, May 05, 2005 8:54 AM
Subject: Re: MI-L reading the map header file


Hello Jaromir,

The information you are looking for is exactly where it is defined below 
(Daniel Mills which refers to an older posting of mine).

Primary and most accurate (open) source for information is the MITAB library 
(read the source code) unless you have access to the MapInfo Corp.'s own 
information.

More accessible is this document, which may not be 100% accurate: 
www.routeware.dk/notes.html.

Regards
Uffe

----- Original Message ----- 
From: "Jaromir Svasta" <[EMAIL PROTECTED]>
To: "MapInfo List (E-mail)" <[email protected]>
Sent: Thursday, May 05, 2005 8:42 AM
Subject: Re: MI-L reading the map header file


>I am long trying to find a better way to get types of all objects stored 
>in a map other than looping through all objects in a table. I know it must 
>be somewhere, because MapInfo knows it immediately - for instance, after 
>pressing the style override button, only those style buttons are offered 
>that correspond to bject types found in a table (region, line, point or 
>text). Is it in a map header? Is the map header documented somewhere?
> Thanks!
> (I hope my english is comprehensible...)
>
> -- 
> Jaromir SVASTA
>
> On Wed, 04 May 2005 12:08:04 +0200, Mills, Daniel <[EMAIL PROTECTED]> 
> wrote:
>
>> hi,
>>
>> sometime ago i asked if it was possible to determine the number of 
>> features
>> within a tab file by directly reading the .data or .map file.  somebody
>> kindly supplied the following code
>>
>> Open File strMapFile for binary as #1 ByteOrder LowHigh
>> Get #1, 317, nPoints ' nPoints etc are integer variables
>> Get #1, 321, nLines ' plines + lines + arcs
>> Get #1, 325, nRegions   ' regions + rects + ellipses
>> Get #1, 329, nText


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16369



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16372

Reply via email to