GRASS logo

NAME

v.external.out - Defines vector output format utilizing OGR library.

KEYWORDS

vector, output, external

SYNOPSIS

v.external.out
v.external.out help
v.external.out [-frp] dsn=string format=string [options=string[,string,...]] [--verbose] [--quiet]

Flags:

-f
List supported formats and exit
-r
Cease using OGR, revert to native output and exit
-p
Print current status
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

dsn=string
Name for output OGR datasource
format=string
Format of output files
Options: ESRI Shapefile,MapInfo File,TIGER,S57,DGN,Memory,BNA,CSV,GML,GPX,KML,GeoJSON,Interlis 1,Interlis 2,GMT,SQLite,ODBC,PostgreSQL,MySQL
options=string[,string,...]
Creation options

DESCRIPTION

v.external.out instructs GRASS to write vector maps as data files (e.g. ESRI Shapefile) using OGR library.

EXAMPLE

The module v.external.out can be used along with v.external to process external geodata in GRASS while writing out the results directly in ESRI Shapefile format:
# register Shapefile in GRASS database:
v.external dsn=cities.shp output=cities

# define output directory for GRASS calculation results:
v.external.out dsn=$HOME/gisoutput

# do something (here: spatial query), write output directly as Shapefile
v.select ainput=cities atype=point binput=forests btype=area operator=within output=fcities

SEE ALSO

v.in.ogr, v.out.ogr, v.external

REFERENCES

OGR Library website: http://gdal.osgeo.org/ogr

AUTHOR

Martin Landa, CTU in Prague, Czech Republic (based on r.external.out code)

Last changed: $Date: 2010-12-19 12:27:04 -0800 (Sun, 19 Dec 2010) $


Main index - vector index - Full index

© 2003-2011 GRASS Development Team