Hi,
Well, I have to say that the application Stephen made sounds as if it might fix many
of the problems, but I haven't had a look at it, yet.
Adding paths to the search path behind the back of the users might not be the right
way of doing it.
The problem might be that in some organisations there exists several versions of the
same table with the same name. In this case I think the user might be better of
picking the table by himself instead of MapInfo finding a table that might be the
wrong one !
If you want to add these search path automatically, you'll have to search the entire
path, and present the user with a choice if several tables were found with the name
search for. This choise could be a dialog with these information:
*****************************************************************
Dialog
Title "Table not found"
Control StaticText Position 5,5
Title "This table was not found in the given folder"
Control EditText Position 5,15 Width 400
Value "G:\MapInfo\GISData\MaximumValueForTheMoney\BestShops.tab"
Control StaticText Position 5,30
Title "Use the table from one of these folders instead?"
Control ListBox Position 5,40 Width 75 Height 60
Title "22-12-2003 12:34:12;22-01-2004 16:01:12;22-03-2004 09:00:00"
Control ListBox Position 80,40 Width 325 Height 60
Title
"G:\MapInfo\GISData\MaximumValueForTheMoney2\;G:\MapInfo\GISData\MaximumValueForTheMoney3\;G:\MapInfo\GISData\MinimumValueForTheMoney\"
Control Button Position 230,105 Width 40
Title "Remove"
Control Button Position 275,105 Width 40
Title "Locate..."
Control OKButton Position 320,105 Width 40
Control CancelButton Position 365,105 Width 40
*****************************************************************
And of course if the user chooses to remove the table it should automatically remove
all references from the workspace to this table ;-)
Pick allows the user to pick a file from a folder not in the search path and cancel
will cancel the load of the workspace
Just my "25 �rer" (right now approx. 5 US cents)
Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
Tel +45 6311 4900
Direct +45 6311 4908
Mob +45 5156 1045
Fax +45 6311 4949
E-mail [EMAIL PROTECTED]
http://www.cowi.dk/gis
-----Original Message-----
From: Dan Bowles [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 5:41 AM
To: [EMAIL PROTECTED]
Cc: MapInfo-L; Stephen Chan
Subject: RE: MI-L App that Resolves Workspaces with Missing Tables
Eric
I gave this feature a try by testing it on an older workspace which I knew to have
moved TAB references. Once turned on by adding all my GIS data folders (which sit on a
server and not locally, making data tfr slower), the workspace opened automatically
within about a minute after search very quickly through thousands of TABs which form
tens of gigabytes of data. I'm highly impressed.
My solution would be for MapInfo to automatically add the tables, remote tables and
import files directories to the search process. At least then if the user was unaware
of the feature yet had these dir refs set up properly for their system, the feature
would work. I'd also suggest that when a workspace can't find a tab, MapInfo offer to
add the dir (or one lower on the tree) which the user identifies as the correct one to
future searches. This would have a twofold effect: enabling future automatic
searching; and making the user aware of the feature.
Cheers
Dan Bowles
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 5 November 2004 3:20 PM
To: Dan Bowles
Cc: MapInfo-L; Stephen Chan
Subject: RE: MI-L App that Resolves Workspaces with Missing Tables
Mr. Bowles and all,
About once or twice a year for the last 7 or 8 I have periodically responded to the
issue of workspaces and finding moved TAB files. While I believe the MapInfo -L
community has responded correctly about the capabilities of the search paths for
tables, it seems clear to me that many users cannot find this feature on their own.
Any ideas about how to make this more discoverable?
Sincerely,
Eric Blasenheim
Software Architect
MapInfo Corporation
Mail List:
[EMAIL PROTECTED]
From: on 11/04/2004 11:22 AM ZE11
To: "Stephen Chan" <[EMAIL PROTECTED]>
cc: "MapInfo-L" <[EMAIL PROTECTED]>
Subject: RE: MI-L App that Resolves Workspaces with Missing Tables
Hi Steve
We have a setup with thousands of TAB files where base layers are sometimes moved,
deleted or renamed. I would love to test out this tool and a suggested improvement
would be for the program to search for the same named TAB within the mapinfo tables
directory and subdirs before offering the user a replacement table selection box if
the table had been renamed.
Cheers
Dan Bowles
-----Original Message-----
From: Stephen Chan [mailto:[EMAIL PROTECTED]
Sent: Thursday, 4 November 2004 11: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: 13933
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13935