Hi - 
After writing the first reply I did some tests in using imut.exe (the
command-line part of the universal translator). It can be controlled by
"ordinary" FME-macros. There is some caveats:

1) A _lot_ of the feature functions and factories from the original
FME-program  has been disabled.

2) Coordinate translation "inside" imut.exe has been disabled 

3) The "base" version of the original FME - program that imut.exe has been
developed from is FME build 280 (ca. ver 2.0 - 2.1), so you can't use any
ver 2.2 or 2.3 syntax in the imut-based macro (ie. no TCL).

What you _can_ do:

1) Use imut.exe from the command-line, ie. from bat-files and mapbasic.

2) Write your own (somewhat limited) fme macros, for example: A macro that
reads dgn-data; converts dgn-linestyle, colors to the corresponding mapinfo
linestyle and colors ( using the fme-function "lookup"); writes the data as
a MapInfo file - all in one step.

Good Luck..

Bo Thomsen
GIS-consultant

GeoConsult I/S, Denmark

 
> -----Oprindelig meddelelse-----
> Fra:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sendt:        6. august 1999 11:27
> Til:  [EMAIL PROTECTED]
> Emne: RE: MI MB: Universal Translator from MapBasic
> 
> Hi all - 
> 
> The Universal translator is a stand-alone program "<Mapinfo
> directory>\professional\ut\imutgui.exe" that's started from a mapbasic
> program. The "imutgui.exe" is a Windows front-end for the command-line
> program "<Mapinfo directory>\professional\ut\imut.exe". 
> 
> Both "Imutgui.exe" and "imut.exe"can be run outside the MapInfo
> environment.
> The remaining problem is to control "imut.exe" by feeding it parameters on
> the command-line. Because "imut.exe" is a scaled down version of the
> FME-translator (www.safe.com) is it (probably) possible to control
> imut.exe
> with the same parameters you use in FME. You can download the full
> documentation to FME from www.safe.com, including the chapter on
> translations using the command-line program.
> 
> If you search the ..\ut  directory (and subdirectories) you'll find many
> snippets of fme control-macros, that is used by MapInfo.
> 
> A warning - the fme control language is _somewhat_  (meaning _very_)
> cryptic
> .... :) 
> 
> Good luck 
> 
> Bo Thomsen
> GIS-consultant
> 
> GeoConsult I/S, Denmark
> 
> > -----Oprindelig meddelelse-----
> > Fra:        Franck Martin [SMTP:[EMAIL PROTECTED]]
> > Sendt:      4. august 1999 08:14
> > Til:        '[EMAIL PROTECTED]'
> > Cc: Harald Schoelzel
> > Emne:       MI MB: Universal Translator from MapBasic
> > 
> > Does anyone know how to pilot Universal translator from Mapbasic ?
> > 
> > Or to do Shapefile to Tab conversion from MapBasic to be more precise.
> > 
> > Franck Martin
> > Database Development Officer
> > SOPAC South Pacific Applied Geoscience Commission
> > Fiji
> > E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> > Web site: http://www.sopac.org.fj/ <http://www.sopac.org.fj/> 
> > 
> > ----------------------------------------------------------------------
> > 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]
----------------------------------------------------------------------
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