GRASS logo

NAME - Imports Mapgen or Matlab-ASCII vector maps into GRASS.


vector, import

SYNOPSIS --help [-fz] input=name [output=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Input map is in Matlab format
Create a 3D vector points map from 3 column Matlab data
Allow output files to overwrite existing files
Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog


input=name [required]
Name of input file in Mapgen/Matlab format
Name for output vector map (omit for display to stdout)

Table of contents

DESCRIPTION allows the user to import Mapgen or Matlab vector maps into GRASS.


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

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.



Based on for GRASS 5.0 by Andreas Lange
Rewritten for GRASS 6 by Hamish Bowman


Available at: source code (history)

Latest change: Thu Feb 3 11:10:06 2022 in commit: 73413160a81ed43e7a5ca0dc16f0b56e450e9fef

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

© 2003-2022 GRASS Development Team, GRASS GIS 8.0.3dev Reference Manual