Map creation:
Vector/raster maps can be easily draw with
xfig, a freeware drawing
program for X-Windows environment.
Xfig allows saving the maps in image formats or Postscript.
Luckily it can handle BIG raster maps. You can define the paper size and
the current version offers a "scale window" to tell you the line lengths in
ground coordinates (e.g. line length in meters) while drawing. This is very
helpful for creating the coordinate system map borders and for measurement.
The following conversion scripts were written by Jacques Bouchard:
- Import GRASS raster maps into xfig: GRASS raster maps can be
imported into xfig in GIF-format
(convert with "xv" or "netpbm"-tools before). For 3D-high resolution
output we recommend the CELL driver
(when you want to make prints of d.3d).
- GRASS vector maps have to be converted by following script to the
xfig-format (use inside GRASS):
- Import GRASS vector maps into xfig: Export your GRASS binary vector map
to GRASS ascii vector
map with v.out.ascii, get
the file from
$LOCATION/dig_ascii and convert it to
xfig format with: grass2fig (26.1.99).
You may configure the script for your convenience (see configuration
part within the script).
- Export xfig vector maps to GRASS: Convert the xfig map to GRASS ASCII
vector format with
fig2grass (26.1.99), store it in
$LOCATION/dig_ascii and use
v.in.ascii to import it
into GRASS.
You may configure the script for your convenience (see configuration
part within the script).
Markus Neteler (26. Jan. 1999)