简体   繁体   English

从shapefile中提取多边形数据

[英]Extracting data from shapefile for polygon

I am working on my masters thesis trying to determine habitat prefrences for wild turkeys. 我正在研究硕士论文,试图确定野生火鸡的栖息地偏好。 I have polygon shapefiles which represent areas that turkeys used during different breeding periods. 我有多边形shapefile,它们代表火鸡在不同繁殖时期使用的区域。 These polygons are all circular and vary from 300m to 1500m radius. 这些多边形都是圆形的,半径从300m到1500m不等。

I have data to be extracted in the form of polygon shapefiles that I need to extract for each of the above mentioned areas. 我需要以上述每个区域要提取的多边形shapefile的形式提取数据。 For example, one of my habitat data shapefiles maps out areas that were burned. 例如,我的一个栖息地数据shapefile映射出了被烧毁的区域。 This is a polygon shapefile with 100% coverage. 这是一个100%覆盖率的多边形shapefile。 The shapefile has an attribute Y_N_U where Y= yes, N=no and U=unknown. shapefile具有属性Y_N_U,其中Y =是,N =否,U =未知。 For each of my used circles I need to extract how much area was burned, not burned, and is unknown (can be in actual meters squared or % of the area . 对于我的每个旧圆,我需要提取燃烧了多少面积,而不是燃烧了多少,并且未知(可以以实际的平方米或面积的百分比表示)。

Thanks for the help. 谢谢您的帮助。

I would use union tool and union all the layers together. 我将使用联合工具并将所有图层联合在一起。

Use select by attribute to and delete the polygons except for your target area (habitat polys). 使用“选择依据”属性来删除目标区域(栖息地多边形)以外的多边形。

Use dissolve tool on the above layer and run it with the "Y_N_U" attribute and the FID field of the habitat poly selected. 在上面的层上使用溶解工具,并在“ Y_N_U”属性和选定的栖息地多边形的FID字段中运行它。

Then create a new field such as "Area_sqmeter". 然后创建一个新字段,例如“ Area_sqmeter”。 Run calculate geometry on that field - choose square meter for the unit. 在该字段上运行计算几何-选择单位的平方米。

Use the select by attribute tool under the selection button on top. 使用顶部选择按钮下的按属性选择工具。 After this select the area you want. 之后,选择所需的区域。 Right click on layer's name in the table of contents. 在目录中右键单击图层名称。 Go down to the "data" tab and when it expands, click on "extract data". 转到“数据”选项卡,然后展开,单击“提取数据”。 Be sure to choose to extract what is selected and extract it to a new file geo database. 确保选择提取选定内容并将其提取到新的文件地理数据库中。

Then you can edit it from there at your heart's desire while the original is still there. 然后,您可以在原件还在那里的时候根据自己的需要从那里进行编辑。

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

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