Hi Ian,
 
Thanks for your help.
 
I probably have enough information from everyones help today to create
my own tabled automatically.
I can then merge some maps into layers.
 
But as you say there will probably be issues with the limit of files or
size of bitmap data.
 
This is still my final problem.
 
Once I've created my million or so tables that I've automatically
created, I now need to dynamically load the ones I need.
 
It's going to be an interesing one to solve.
 
Kind regards
 
Tim Smith

-----Original Message-----
From: Ian Hull [mailto:[EMAIL PROTECTED] 
Sent: 06 July 2004 10:52
To: Tim Smith
Subject: RE: MI-L Registering *lots* of raster maps



Tim, 

You need to loop through all of your files and create a .tab for each
one. The .tab can be created as follows (in MapBasic) 



open file tablename for output as #1 filetype "MIta" 
print #1, "!table" 
print #1, "!version 300" 
print #1, "!charset WindowsLatin1" 
print #1 
print #1, "Definition Table" 
print #1, "  File """ + filename + """" 
print #1, "  Type ""RASTER"" " 
print #1, "  (" + tle + "," + tln + ") (0,0) Label ""TopLeft"", " 
print #1, "  (" + tre + "," + trn + ") (35000,0) Label""TopRight"", " 
print #1, "  (" + ble + "," + bln + ") (0,35000) Label""BottomLeft"",  "

print #1, "  (" + bre + "," + brn + ") (35000,35000)
Label""BottomRight"" " 
print #1, "          CoordSys Earth Projection  8, 79,""m"", -2, 49,
0.9996012717, 400000, -100000 Units ""m"" " 

close file #1 

You will need to look in your first tab file for the correct values for
the coords i.e. (0,35000) etc but as all of your areas are square is
should be easy. 

I have used a Seamless table on about 100 tables of aerial photos and it
works really well (I don't know what the limits are)

Hope this helps,

Ian Hull


Greater Manchester Transportation Unit
Salisbury House
Granby Row
Manchester
M1 7AH

Tel:      0161 455 2059
Fax:      0161 455 2071
E-mail:   [EMAIL PROTECTED]
Website:  www.agma.gov.uk/transport.asp?id=3

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept 
for the presence of computer viruses.

Please contact [EMAIL PROTECTED] 
with any queries.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Reply via email to