VecDXF: Export MiraMon vector layers to DXF files
This
program performs the conversion from vector ASCII files containing points,
lines or polygons (VEC format) to a DXF AutoCAD format (see the DXFIN
command in the AutoCAD manual), also importable by other programs, such as
CorelDraw or MS-Word. Also it exports the 3rt dimension when it is present
in the input formats.
ASCII polygons are converted to closed polylines; lines are converted to
opened polylines; points can be converted to points or to texts. The maximum
number of vertices in each line or polygon is 4.2 milion.
The output DXF file contains a short header with its geographic
boundaries.
The program allows introducing terrain coordinates of the lower left
corner to let DXF file to have map coordinates if it had not before, or to
shift the whole drawing to a lower range of coordinates (for ex., some
programs have problems while opening DXF files with UTM coordinates in
m).
- Notes:
- Attributes become the names of the DXF layers.
- According to the DXF format, names of layers are transformed to
capital letters and are truncated at 31 characters of length.
- Negative number attributes (for ex. holes) keep the sign in the
name.
- Real attributes are only supported by option 3 of the program, because
names of layers cannot contain decimal points.
- Range of numeric integer attributes allowed: -2147483648 to 2147483647
(long).
Syntax:
VecDXF File_1 File_2 Option [TextHeight] [N_Decimal]
Option
- 1 Direct transformation:
- points -> points
- lines and arcs -> open polylines
- polygons -> closed polylines
- 2 Transform points -> texts saying the attribute and being on a
layer of name equal to this text.
- 3 Transform points -> texts saying the attribute and being on a
layer of constant name (the layer will be prompted interactively).
- 4 Shift and/or scale of the file (transforming parameters will be
prompted interactively).
Notes:
- TextHeight parameter is only need in options 2 and 3.
- N_Decimal is the number of decimal figures written in the
coordinates of the output file; its default value is 6.
- /TAULA= and /CAMP= set database field to be exported as a layer or
text in a DXF format. To learn more about the values of these parameters
follow the consiterations in general
syntax.
-
/REPE= indicates which record is used when there are more than
one record for a graphic identifier (multiple record). For more
information on the values of this parameter refer to the document
general syntax.
- /ALCADA= sets which of the possible heights are used in the DXF. To
learn more about the values of this parameter follow the consiterations
in general syntax.
AutoCAD, CorelDraw, MS-Word, Idrisi and MiraMon are registered trade marks
of their owners. MiraMon is a registered trade mark of Xavier Pons.
Import/Export tools for vector files: