Geology: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(dotted lines)
Line 18: Line 18:


* [[AreaFillPatterns]]: {{cmd|ps.map}} allows custom fill patterns based on simple PostScript-like rules files. A number of patterns are provided. It is reasonably simple to create new ones- just copy an existing one to a new file and edit the drawing coordinates in a text editor. (new contributions welcome)
* [[AreaFillPatterns]]: {{cmd|ps.map}} allows custom fill patterns based on simple PostScript-like rules files. A number of patterns are provided. It is reasonably simple to create new ones- just copy an existing one to a new file and edit the drawing coordinates in a text editor. (new contributions welcome)
=== Dashed lines ===
In {{cmd|ps.map}} use the '''''vlines''' style'' instruction to set the line style. The ''linecap'' instruction can further refine the draw mode.


=== Modules of interest ===
=== Modules of interest ===

Revision as of 03:23, 3 December 2008

Examples

Strike-and-dip symbols

See the IconSymbols wiki page

  • geology/strike_line,box,triangle,circle:
  • ps.map can take rotation angle from an attribute column for each site with the vpoints rotatecolumn instruction; for d.graph you can prepare a command file with a custom rotation for each point using v.out.ascii, v.db.select, or the v.out.ascii.db addon script. Note that GRASS uses the Cartesian convention for rotation angles, i.e. CCW from east. Convert from compass angles (CW from north) with:
    theta = 90 - degrees_true
You could possibly write a small db.execute script to populate a new column with this conversion by way of a SQL query. (and post it here :)
  • to make open symbols set the fill color to 'none'.
  • to make a double sided dip symbol draw the same symbol twice with 180 rotation the second time.

Fill patterns

  • AreaFillPatterns: ps.map allows custom fill patterns based on simple PostScript-like rules files. A number of patterns are provided. It is reasonably simple to create new ones- just copy an existing one to a new file and edit the drawing coordinates in a text editor. (new contributions welcome)

Dashed lines

In ps.map use the vlines style instruction to set the line style. The linecap instruction can further refine the draw mode.

Modules of interest

see also r3.* commands
  • nviz: Native 3D visualization and animation suite
  • v.out.vtk, r.out.vtk, and r3.out.vtk: Export to VTK format for ParaView or other 3D visualization software
  • ...

Links

  • ...