I'm not sure the the number is the "distance" from the original layer in the layer 
control, but more a count. The first thematic layer you create from a layer is called 
layer1, the next layer2 etc. If you then close layer2, the next will be named layer2 
again.
 
Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
 
COWI A/S
Odensevej 95
5260 Odense S.
Denmark
 
Tel   + 45 6311 4900
Dir   +45 6311 4908
Mob +45 5156 1045
Fax  + 45 6311 4949
E-mail [EMAIL PROTECTED]
http://www.cowi.dk <http://www.cowi.dk/> 

________________________________

From: Jacques Paris [mailto:[EMAIL PROTECTED]
Sent: Fri 04-Jun-04 13:18
To: Stefan Majtan; MI-list
Subject: RE: MI-L Original layer name



It seems that the name of a thematic layer is that of the original table
followed by (x) where x is the "distance" from the thematic to the original
layer (if one thematic > (1), if two, the topmost (2), the closest to the
thematic (1) )

The actual name of the layer on which the thematic is based can thus be
obtained by left$(layerinfo(win_id, layer_no, 1), instr(1,layerinfo(win_id,
layer_no, 1),"(") )

Jacques Paris
e-mail  [EMAIL PROTECTED]
MapBasic-MapInfo support  http://www.paris-pc-gis.com

-----Original Message-----
From: Stefan Majtan [mailto:[EMAIL PROTECTED]
Sent: 4-Jun-04 04:58
To: MI-list
Subject: MI-L Original layer name

Dear mappers,

is there any way how to get the name (or layer order) of the layer from
which the thematic one was derived? I need to know the original layer name
 from which "xxx" thematic layer was created.

Any help is appreciated.

Regards Stefan Majtan

--

**************************************************************************
TERRIS
GIS Applications Development
Grid Analyser - raster GIS for native MapInfo grid

Pod z�hradkami 24
909 01 Skalica
SLOVAKIA
http://www.terris.sk
**************************************************************************

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



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




Reply via email to