当前位置:网站首页>ArcGIS application (XXI) ArcMap method of deleting layer specified features
ArcGIS application (XXI) ArcMap method of deleting layer specified features
2022-07-03 11:51:00 【Air spinning basketball】
in the light of Arcmap Delete the problem of specifying conditional elements in vector layers , For one GISer Come on , The first thought should be to use Arcmap Edit tool in . That is, after starting the editing tool , Using the attribute selection tool , Select the element to delete , And then directly Delete Then save the data , This is the most direct and convenient method . Of course, there are many other ways , For example, using AE Program to delete elements , You can customize various functions you need , It can also be used Python library -Gdal Program to delete elements , Such as this one :python Batch deletion shapefile The specified attribute value of a field in the file _ Air spin basketball blog -CSDN Blog
https://soderayer.blog.csdn.net/article/details/123087405. Of course , There are many other software that can achieve this goal .
although Arcmap The editing tool in is the easiest way , This is not a big problem for a small amount of data , But it is a little difficult to deal with a large amount of data . Take a data processed by myself as an example , A point layer vector data , There are hundreds of thousands of points , After starting the editing tool , Being loaded for a long time ,Arcmap For this kind of mass data processing efficiency is very low , Unable to enter the editing state for a long time , Even after entering the editing state, the data processing speed is relatively slow . So for big data , This method is not very desirable , It's too inefficient .
The programming method is very troublesome for some novices just to configure the environment , And if the data is not many , If there is no need for business operation , There is no need to program .
This is for the above problems , We can use Arcmap Use other tools in to delete the specified elements of the layer :
Method 1: Use Arcgis In your own toolbox Delete Features Tools to achieve rapid deletion .
Tool path :Data Management Tools->Featurs->Delete Features

From the help description on the right , We know that this tool can delete all elements in the layer or selected elements . Let's test the effect :
Open a vector data as follows , There are a large number of point layers in the layer :

If you use this tool directly , All the elements in the layer are deleted . We choose some elements that specify conditions , Here's the picture :
Use here Select Tools Select By Attribute…… The menu selects elements of specific conditions .

Then we use this tool to delete the feature selection operation layer , Click on OK, Look at the results :



From the results , The selected element is deleted , It's also very fast .
Method 2: Use Arcgis Select the method that the tool saves as new data to obtain the deleted layer data .
The specific process is as follows :
1. Use Select Tools Select By Attribute…… Menu select the element to be deleted under specific conditions .

2. Right click layer ,Open Attribute Table The menu opens the property sheet .

Use Switch Select Reverse selection of tools , These selected elements are the elements that need to be saved .


3. Create the selected feature as a new layer , That is, use the right-click menu Selection Medium Create Layer From Seleted Features

The newly created layer is temporarily stored , We need to save the data as a new layer , As shown in the figure below Data Menu Export Data The tool is saved as new vector data . This also enables the deletion of data specified elements . It's more efficient than Editor Editing tools are faster .

thus , End of this article , I hope that's helpful !
边栏推荐
- 如何将数字字符串转换为整数
- 机器学习 3.2 决策树模型 学习笔记(待补)
- Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.
- The uniapp scroll view solves the problems of high adaptability and bullet frame rolling penetration.
- R language uses data The table package performs data aggregation statistics, calculates window statistics, calculates the median of sliding groups, and merges the generated statistical data into the o
- rxjs Observable filter Operator 的实现原理介绍
- STL教程10-容器共性和使用场景
- MySQL union和union all区别
- Cacti监控Redis实现过程
- Groovy test class and JUnit test
猜你喜欢

Vulnhub narak

Event preview | the live broadcast industry "rolled in" to drive new data growth points with product power

vulnhub之raven2

836. 合并集合(DAY 63)并查集

导师对帮助研究生顺利完成学业提出了20条劝告:第一,不要有度假休息的打算.....

Momentum of vulnhub
![Capturing and sorting out external Fiddler -- Conversation bar and filter [2]](/img/04/e9cc027d753e7049f273d866eefdce.png)
Capturing and sorting out external Fiddler -- Conversation bar and filter [2]

Excel quick cross table copy and paste

XML (DTD, XML parsing, XML modeling)

vulnhub之momentum
随机推荐
Keepalived中Master和Backup角色选举策略
小鹏 P7 撞护栏安全气囊未弹出,官方回应称撞击力度未达到弹出要求
Raven2 of vulnhub
R language uses the aggregate function to calculate the mean value (sum) of dataframe data grouping aggregation without setting na The result of RM calculation. If the group contains the missing value
R语言使用data.table包进行数据聚合统计计算滑动窗口统计值(Window Statistics)、计算滑动分组中位数(median)并合并生成的统计数据到原数据集中
rxjs Observable filter Operator 的实现原理介绍
Deploying WordPress instance tutorial under coreos
(database authorization - redis) summary of unauthorized access vulnerabilities in redis
Vulnhub narak
Some common terms
利用Zabbix动态监控磁盘I/O
在CoreOS下部署WordPress实例教程
Extrapolated scatter data
Web security summary
GCC compilation process and dynamic link library and static link library
phpcms 提示信息页面跳转showmessage
Mmc5603nj geomagnetic sensor (Compass example)
鸿蒙第四次培训
vulnhub之momentum
Niuniu's team competition