当前位置:网站首页>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 !
边栏推荐
- Phpcms prompt message page Jump to showmessage
- R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
- Excel表格转到Word中,表格不超边缘纸张范围
- ORACLE进阶(一) 通过EXPDP IMPDP命令实现导dmp
- Redis things
- R语言使用gridExtra包的grid.arrange函数将lattice包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
- 《剑指offer 04》二维数组查找
- "Jianzhi offer 04" two-dimensional array search
- P3250 [hnoi2016] Network + [necpc2022] f.tree path tree section + segment tree maintenance heap
- Qt OpenGL相机的使用
猜你喜欢
The uniapp scroll view solves the problems of high adaptability and bullet frame rolling penetration.
Modular programming of single chip microcomputer
Viewing binary bin files with notepad++ editor
VS2015的下载地址和安装教程
vulnhub之GeminiInc
Vulnhub's cereal
Capturing and sorting out external Fiddler -- Conversation bar and filter [2]
Ripper of vulnhub
(database authorization - redis) summary of unauthorized access vulnerabilities in redis
Spl06-007 air pressure sensor (example of barometer)
随机推荐
PHP Basics
Phpcms prompt message page Jump to showmessage
vulnhub之tomato(西红柿)
Program process management tool -go Supervisor
The world's most popular font editor FontCreator tool
C language utf8toutf16 (UTF-8 characters are converted to hexadecimal encoding)
Stm32hal library upgrades firmware based on flash analog U disk (detailed explanation)
Groovy test class and JUnit test
DS90UB949
phpcms 提示信息頁面跳轉showmessage
Visual Studio 2022下载及配置OpenCV4.5.5
Deploying WordPress instance tutorial under coreos
Qt OpenGL相机的使用
STL教程9-容器元素深拷贝和浅拷贝问题
银泰百货点燃城市“夜经济”
Modular programming of single chip microcomputer
抓包整理外篇fiddler———— 会话栏与过滤器[二]
Numpy np. Max and np Maximum implements the relu function
Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.
Niuniu's team competition