Open MapBasic window and type:

Set CoordSys Table YourTable
Update YourTable Set YourWestColumn = ObjectGeography(obj,1)
Update YourTable Set YourSouthColumn = ObjectGeography(obj,2)
Update YourTable Set YourEastColumn = ObjectGeography(obj,3)
Update YourTable Set YourNorthColumn = ObjectGeography(obj,4)

Press [ENTER] at each line.

Change table and column names to real ones.

Hope it helps,

--
Jaromir SVASTA
Hydrogeologist
Geological Survey of Slovak Republic
Mlynska dolina 1
817 04 Bratislava
Slovak Republic

Tel:    +421 2 59375326
Mobile: +421 915720952
Fax:    +421 2 54771940

On Thu, 16 Mar 2006 15:44:26 +0100, Marc Pelletier <[EMAIL PROTECTED]> wrote:

Hello,

I have a mapinfo table containing the NTS sheet index for Canada. The
tab file contains each sheet as a rectangle, with attributes that
include its name (ie "63 P/13"). I would like to update the table with 4
new attributes specifying the descriptor of the sheets north, south,
east and west of the sheet.
I can't figure out a way to generate that data.

I have mapinfo 7.5 without mapbasic.

Can anyone help me with this?

Thanks

Marc Pelletier

Goldak Airborne Surveys
The High-Resolution Survey Experts

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to