Conversion programs

The dmap file, beeing a simple ASCII file, can be easely read by using any text editor. However, since the dmap library does not care about comments, it can be hard to understand, if not well formatted.

For the above reason, several conversion programs have been implemented:


The most simple of them is dmap2dmap. It simply reads and rewrites the dmap file, formatting it.

Its syntax is:
dmap2dmap GeoVmeMap dmap filename title

where:

As an example, compare a map before and after the conversion.


A bit more complicated is dmap2html. This program converts the dmap file in a set of HTML files.

Its syntax is:
dmap2html GeoVmeMap dmap file_prefix outdir title

where:

As an example, see the result of a conversion.


Sometimes it is useful to have a standalone program that incorporates the document. dmap2tcl and dmap2tcl2 convert the dmap file in a standalone Tcl/Tk program. The two programs generate equivalent Tcl/Tk programs, but dmap2tcl creates shorter ones and should be prefered to dmap2tcl2.

The syntax is the following:
dmap2tcl GeoVmeMap dmap filename title
dmap2tcl2 GeoVmeMap dmap filename title

where:

As an example, the following Tcl/Tk program should be run. If you cannot run Tcl/Tk programs, have a look to the the following picture showing the program in execution.


Top of the page. dmap documentation
Send comments to: Igor Sfiligoi

Created:10.4.1997
Last modified:18.8.1997