v.in.mapgen(1grass)

v.in.mapgen1grass

Imports mapgen or matlab-ascii vector maps into grass.

Usage

v.in.mapgen

v.in.mapgen --help

v.in.mapgen [-fz] input=name [output=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Keywords

vector, import

Overview

v.in.mapgen allows the user to import Mapgen or Matlab vector maps into GRASS.

Notes

This module only imports data into vector lines.

The user can get coastline data in Mapgen or Matlab format from NOAA’s Coastline Extractor at https://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html.

Matlab vector line maps are simply a series of "x y" data points. Lines are separated by a row containing NaN NaN. Output from Matlab with this command:

    save filename.txt arrayname -ASCII

The user can import 3D lines from Matlab by exporting a 3 column array and using the -z flag.

Source code

Available at: v.in.mapgen source code (history)

Accessed: Monday Feb 24 17:51:46 2025

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

Authors

Based on v.in.mapgen.sh for GRASS 5.0 by Andreas Lange
Rewritten for GRASS 6 by Hamish Bowman

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.