In a workspace file you have several script commands For example: '************************************** Map From Table1,Table2,Table3,Table4 Shade 1 (Thematic for Table1) Shade 3 (Thematic for Table2) Shade 2 (Thematic for Table1) Shade 7 (Thematic for Table4)
Set Map Layer 1 ... Layer 2 ... Layer 3 ...(Table 1) Layer 4 ... Layer 5 ...(Table 2) Layer 6 ...(Table 3) Layer 7 ... Layer 8 ...(Table 4) Set Legend Layer 1 Layer 2 Layer 4 Layer 7 '************************************** As you can see the Map From command layers Table1-4 as Layers 1-4 The Shade command changes the ordering of the layers And the Set Legend Command refers to the finished Map Window If Tabe1 no longer exists then I would have to reshuffle the layers and shade commands. All in all my app is quite simple however this was probably the most difficult and annoying part to code as I spent in total 3hrs over a period of 3 days to nut out how to do it and how to fine tune it as there were so many different combos in regards to the shade command. - Steve On Thu, 4 Nov 2004 09:01:57 +0800, SCISOFT <[EMAIL PROTECTED]> wrote: > Steve > > Can you explain a bit more on this - > > and reorders all layers including shade and create legend commands for > > thematic maps. > > > It's the shade and legend bit we're interested in. > > Ian Thomas > GeoSciSoft - Perth, Australia > > > > > -----Original Message----- > > From: Stephen Chan [mailto:[EMAIL PROTECTED] > > Sent: Thursday, 4 November 2004 8:04 AM > > To: [EMAIL PROTECTED] > > Subject: MI-L App that Resolves Workspaces with Missing Tables > > > > Hey guys, > > > > I created an app while I was at Sydney for the Exponare training for > > partners. > > It resloves the issue of not being able to open workspaces where > > tables no longer exist. > > The app automatically removes all references to the missing table > > and reorders all layers including shade and create legend commands for > > thematic maps. > > A new workspace file is created, so the original one remains intact > > The user is given an option to replace the references by locating > > the missing table manually. > > > > The code itself could be tidied up and I believe that it should work > > for all workspace files generated by MapInfo however further testing > > is required. I am not sure if I should publish it yet however if > > anyone here is interested in trialling out this tool give me a buzz. > > > > It only looks for and removes references of missing TAB files. Any > > references to other file types are not supported (ie .3TF files) > > > > - Steve Chan > > > > --------------------------------------------------------------------- > > List hosting provided by Directions Magazine | www.directionsmag.com | > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > Message number: 13902 > > --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 13909
