Conversion to AutoCAD format

Tom D'Avello davello at
Thu Oct 3 19:11:50 EDT 1996

I've used this ugly thing to get real-world labels from GRASS to
DXF files:

sort +3n -4 in_file > in_file.sort
join -j1 4 -j2 1 -o 1.1 1.2 1.3 2.1 in_file.sort file2 > file.join


* "in_file" is a dig_att file that must be sorted for join to work

* "file.join" will be the new dig_att file to trick GRASS into providing
   DXF files with actual polygon labels. Rename corresponding GRASS files
   to match "file.join"

Good luck

Tom D 

More information about the grass-user mailing list