找回密码
 注册
查看: 317|回复: 0

R语言 sperich包 exportAsGDAL()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:59:54 | 显示全部楼层 |阅读模式
exportAsGDAL(sperich)
exportAsGDAL()所属R语言包:sperich

                                        Export result grid as GDAL grid map
                                         导出结果网格,GDAL栅格图

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function exports the result grid as a GDAL grid map.
此功能导出的结果网格作为一个GDAL栅格图。


用法----------Usage----------


exportAsGDAL(grid, shift, resolution, directory=getwd(), filename="grid.tif", drivername="GTiff")



参数----------Arguments----------

参数:grid
The grid that should be exported.
应导出的网格。


参数:shift
The geographic coordinates of the origin of the grid.
GEO坐标的网格原点。


参数:resolution
The resolution of the grid in (geographical) degree.
决议中的网格(区域)学位。


参数:directory
The directory in which the file will be created.
目录中的文件将被创建。


参数:filename
The name of the created file containing the GDAL grid map.
含有GDAL网格图创建的文件的名称。


参数:drivername
Determines the format of the resulting GDAL grid map.  All available drivers can be shown by using the command 'gdalDrivers()'.
所得GDAL网格图确定其格式。可显示所有可用的驱动程序,使用的命令“gdalDrivers()。


Details

详细信息----------Details----------

This routine exports a grid as an GDAL grip map. The package rgdal is required.
常规出口的的GDAL握图的网格。的封装rgdal是必需的。


(作者)----------Author(s)----------


Maximilian Lange, Sven Lautenbach



实例----------Examples----------


##load data[#加载数据]
data(dataset.all.species)
data(dataset.landwater)

##create grid parameters[#创建网格参数。]
dimension <- getDimension(dataset.all.species, resolution=1)
shift <- getShift(dataset.all.species)

##create landwatermask[#创建landwatermask]
landwatermask.nocoast <- createLandwatermask(dataset.landwater,
                                                dimension, shift, resolution=1)

##estimate species richness[#估计物种丰富度]
species.richness.weighted <- species.richness(dataset.all.species,
landwatermask.nocoast, distances=1:10, weight=0.5, dimension,
shift, resolution=1, upperbound=3000, all.species=1:20)

##export[#出口]
exportAsGDAL(species.richness.weighted, shift, resolution=1,
            directory=getwd(), filename="species.richness.tif", drivername="GTiff")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-18 18:36 , Processed in 0.025545 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表