v.in.mapgen.1grass man page

v.in.mapgen — Imports Mapgen or Matlab-ASCII vector maps into GRASS.

Keywords

vector, import

Synopsis

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

Flags

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

Parameters

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

Description

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 http://www.ngdc.noaa.gov/mgg/shorelines….

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.

See Also

v.in.ascii

Authors

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

Last changed: $Date: 2011-11-08 13:24:20 -0800 (Tue, 08 Nov 2011) $

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

© 2003-2016 GRASS Development Team, GRASS GIS 7.0.4 Reference Manual

Info

GRASS 7.0.4 Grass User's Manual