v.in.mapgen

Langue: en

Autres versions - même langue

Version: 371994 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)

NAME

v.in.mapgen - Import Mapgen or Matlab vector maps into GRASS.

KEYWORDS

vector, import

SYNOPSIS

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

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
--verbose

Verbose module output
--quiet

Quiet module output

Parameters:

input=string

Name of input file in Mapgen/Matlab format
output=string

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.

You can get coastline data in Mapgen or Matlab format from NOAA's Coastline Extractor at http://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

You 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: 2007-10-08 10:24:47 +0200 (Mon, 08 Oct 2007) $

Full index

© 2003-2008 GRASS Development Team