Peter,

Sounds like it might be worth expanding on this.  Perhaps by posting it to
mapinfo-l together with the source code, people could take the utility and
build on it if you gave permission for that.  Then hopefully, we could end
up with a utility that will read a workspace file, remove the open table
statement where a file cannot be fined, remove the relevant map from
statement and comma separator, and remove the layer control information
depending on where the layer appeared in the map from statement.  Queries
using that table should also be considered.

Andrew Hayes
GIS Analyst/Programmer
Wakefield MDC
> Web:   http://www.wakefield.gov.uk/
E-mail: [EMAIL PROTECTED]
Tel: 01924-(30)5440
Fax: 01924-(30)5424


-----Original Message-----
From: Doyle, Peter W [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 15, 2000 6:13 AM
To: 'Mapinfo-L'
Subject: MI Workspace regression utility


Greetings,

        Recently I have noticed there are a number of people inquiring about
how to open a Workspace that was created by a later version of MapInfo.

        As most of us are probably aware, the process is relatively simple
yet time consuming. Eg. use a text editor to edit the header of the
workspace, and
        then try to eliminate those lines that are not supported be earlier
versions. (can be frustrating at times).

        As I have a need to do this quite often, I decided to automate the
process by writing a simple MapBasic utility.  I have taken a very
simplistic approach - 

        1) Read in the workspace 
        2) Change the header 
        3) Disregard all lines except for the table information
        4) Save out to new workspace

        You are left with a stripped down workspace that should load into
any MapInfo version, although you have now lost any formatting, layouts etc.
        
        If you think this may suite your needs, or you just want to check it
out, Email me directly and I will forward it to you. Someone may even like
to build
        on the idea?
        
        If there is enough interest I will upload it to the Mapinfo-L site
        

Regards

Peter Doyle
TELSTRA
OnAir Networks Queensland
Geographical Information Systems & Mapping
'  +61 7  34064304
Email: [EMAIL PROTECTED]

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to