免费视频|新人指南|投诉删帖|广告合作|地信网APP下载

查看: 2482|回复: 6
收起左侧

[求助] arcmap读取HYDRO1dem数据

[复制链接]

3

主题

87

铜板

0

好友

技术员

Rank: 3Rank: 3

积分
26
发表于 2011-7-2 12:07 | 显示全部楼层 |阅读模式
在使用arcmap加载usgs hydro1数据的时候,经过处理后就会出现错误。其原网站上是这样说的:

Users of ARC/INFO or ArcView can display the image data directly. However, if a user needs access to the actual pixel values for analysis in ARC/INFO the image must be converted to an ARC/INFO grid with the command IMAGEGRID. IMAGEGRID does not support conversion of signed image data, therefore the negative 16-bit image values will not be interpreted correctly. After running IMAGEGRID, an easy fix can be accomplished using the following formula in GRID:

out_grid = con(in_grid >= 32768, in_grid - 65536, in_grid)

The converted grid will then have the negative values properly represented, and the statistics of the grid should match those listed in the .stx file. If desired, the -9999 ocean mask values in the grid could then be set to NODATA with the SETNULL function.

但是我根本不知道这是啥命令,也查不到。这是什么意思,大家遇到这种情况吗?
谢谢,各位
刚刚来,希望大家多多关照!

0

主题

54

铜板

0

好友

助理工程师

Rank: 5Rank: 5

积分
218
发表于 2011-7-2 15:51 | 显示全部楼层
不错,想学一下

3

主题

87

铜板

0

好友

技术员

Rank: 3Rank: 3

积分
26
 楼主| 发表于 2011-7-2 19:49 | 显示全部楼层
请高手指点一下啊,在再linux下读取吗,在输出为ascii吗?

3

主题

87

铜板

0

好友

技术员

Rank: 3Rank: 3

积分
26
 楼主| 发表于 2011-7-3 17:08 | 显示全部楼层
请高手指教

3

主题

87

铜板

0

好友

技术员

Rank: 3Rank: 3

积分
26
 楼主| 发表于 2011-7-3 18:21 | 显示全部楼层
Amely 发表于 2011-7-2 19:49
请高手指点一下啊,在再linux下读取吗,在输出为ascii吗?

为啥一直没人回复,难道没人做,还是太简单?

3

主题

87

铜板

0

好友

技术员

Rank: 3Rank: 3

积分
26
 楼主| 发表于 2011-7-3 20:22 | 显示全部楼层
Amely 发表于 2011-7-2 19:49
请高手指点一下啊,在再linux下读取吗,在输出为ascii吗?

我忽然之间明白了。首先用export data将数据另存为grid形式,然后通过map lagera 或者raster calculator按照公式计算出来,至此已经是正确的山歌数据了,如果需要可将-9999设为nodata。哦
很长时间的困扰就这样灵光一现啊。不过还是谢谢各位,

0

主题

2230

铜板

15

好友

地信院士

Rank: 15Rank: 15Rank: 15Rank: 15Rank: 15

积分
2033
发表于 2021-6-19 17:02 | 显示全部楼层
楼主辛苦
回复

使用道具 举报

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

本版积分规则

在线客服
快速回复 返回顶部 返回列表