grass与gmt的结合

来源: http://169.237.35.250/~dylan/grass_user_group/grass & gmt

General methods for working with GRASS and GMT

1. Importing data into GRASS:

* r.in.gdal raster data
* v.in.ogr vector data

2. Exporting data from GRASS, in a GMT-ready format

* r.out.bin -h [-i] as floating point or optionally integer binary grid

* use -i to integer cat labels instead of actual cell values raster.grd[=1|=2] access file as floating point [=1], or integer [=2]

CELL type rasters are accessed via [=2]
FCELL type rasters are accessed via [=1]
* DCELL type rasters (convert to FCELL with r.mapcalc float(raster)) v.out.ascii | awk >file.xy vectors as y,x records

3. GMT

* grdimage render raster image
* grdcontour contour raster data
* makecpt make a color pallette file for raster data
* grd2cpt make a color pallette based on values in raster data
* psbasemap create clean line, scale, north arrow, etc.
* psxy render point, line, or polygon data from xyz text file
* pslegend create a legend
* gmtset set GMT variables such as paper and font size

This entry was posted in GIS and tagged , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string Bnm4UO to the field below:

以新浪微博帐号登录