David - 

I think you'll need a program though someone may give you a SQL that does it
at one go.

Loop all the open ECW tables OR open them in turn

Use the TableInfo function - get the min/max x/y of each table and the table
name into variables

(If you want to do this through the MapBasic window or a workspace the
defines are

Define TAB_INFO_TABFILE                 19
Define TAB_INFO_MINX                    20
Define TAB_INFO_MINY                    21
Define TAB_INFO_MAXX                    22
Define TAB_INFO_MAXY                    23)

Calculate the mean x and y from the max ones to get your centre point, then
select the grid square that contains this point - update your selection with
your filename string, commit, repeat

HTH

Paul Crisp

Syntegra
Innovation Place Delta Bank Road Newcastle NE11 9DJ
Tel 0191 461 4522 Fax 0191 460 1987


-----Original Message-----
From: Eagle, David A [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2003 15:35
To: [EMAIL PROTECTED]
Subject: MI-L Updating a grid with tile names


Listers,

I have a large number of ECW compressed imagery files which I have opened
within MI. I have created a grid into which each tile fits. The next step is
to update each region that makes up the grid with the file name of each tile
that falls within. Does anyone have any possible solutions before I go down
the path of marrying up coordinates with a bit of fiddling with text files
and excel?

TIA, Dave



This email and any attached files are confidential and copyright protected.
If you are not the addressee, any dissemination of this communication is
strictly prohibited. Unless otherwise expressly agreed in writing, nothing
stated in this communication shall be legally binding.



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


********************************************************************

This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.syntegra.com

********************************************************************

Reply via email to