简体   繁体   English

从栅格ArcGIS 10.x中提取值

[英]Extract values from raster ArcGIS 10.x

I just got a vegetation raster. 我刚得到一个植被栅格。 Its pixels have several fields (ie basal area oaks, density of oaks, volume of oaks, pixel value, etc). 它的像素具有多个字段(即,橡树的底面积,橡树的密度,橡树的体积,像素值等)。 How do I extract only selected field values to a set of XY points? 如何仅将选定的字段值提取到一组XY点?

The primary tool that you'll be working with is Raster to Point (Conversion toolbox). 您将使用的主要工具是“ 栅格转点” (“转换”工具箱)。 It includes a parameter to pick which field to pull data from: 它包含一个参数,用于选择从哪个字段提取数据:

The Field parameter allows you to choose which attribute field of the input raster dataset will become an attribute in the output feature class. 使用Field参数,可以选择输入栅格数据集的哪个属性字段将成为输出要素类中的属性。 If a field is not specified, the cell values of the input raster (the VALUE field) will become a column with the heading Grid_code in the attribute table of the output feature class. 如果未指定字段,则输入栅格的像元值(VALUE字段)将成为输出要素类的属性表中标题为Grid_code的列。

If you want to exclude certain values or subset the data, that can be done either before converting (using Con or similar) or after (select by attribute and export or delete). 如果要排除某些值或数据子集,可以在转换之前(使用Con或类似方法)或之后(通过属性选择并导出或删除)进行操作。 Doing it afterwards gives you a bit more flexibility, but leads to larger point datasets. 之后执行此操作会给您带来更多的灵活性,但会导致更大的点数据集。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM