[GRASSLIST:504] Re: v.in.dxf updated
Radim Blazek
radim.blazek at gmail.com
Fri Mar 31 05:19:06 EST 2006
On 3/31/06, Huidae Cho <grass4u at gmail.com> wrote:
> Hi,
>
> I have updated v.in.dxf to support LWPOLYLINE and TEXT objects. LWPOLYLINE was
> introduced after DXF R10, so the chance is good that newer DXF files will be
> imported.
>
> One problem with TEXT is that the module actually creates points and attaches
> text labels through the "label" field in the linked table. Created tables will
> have two fields: cat (integer), label (varchar(256)) and TEXT will be stored in
> the label field. Since the label is actually not a graphic object in this
> case, rotation of text and the label box (cannot determine the dimension of
> label) are not supported.
>
> Linking labels and objects is not implemented.
It could be useful to have all the properties of elements imported to the table
You can look into the v.in.dwg for example, it creates table with
cat integer,
entity_name varchar(20),
color int,
weight int,
layer varchar(100),
block varchar(100),
txt varchar(100)
That is useful because many people use colors for example to distinguish
layers.
Radim
More information about the grass-user
mailing list