I have a feature layer called A, I created two layers b and c from A using "select by attribute" so b and c has polygons that are in A. Now I want to create another layer d that is the remaining polygons from A.
For instance, A has 100 polygons, I create b which is a subset of 20 polygons from A, I do the same for c which is a subset of 30 polygons from A. Now I want to create d which should contain the remaining 50 polygons in A. What tools can I use in Arcgis pro for this?
Probably the most foolproof method is to repeat the select by attribute queries and then switch the selection when all of 'B, C' are selected - this will then select the remainder which are not 'B, C' types.
https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-layer-by-attribute.htm - for the first query, use NEW_SELECTION. For subsequent queries use ADD_TO_SELECTION.
When all the features are selected you then switch/reverse/invert the selection
https://pro.arcgis.com/en/pro-app/latest/help/mapping/navigation/work-with-selected-features.htm Switch the selection. To deselect all the selected features and select all the deselected ones, right-click the layer in the Contents pane, point to Selection, and click Switch Selection
-- 'B' type query example Animal = 'Dog' -- 'C' type query example Animal = 'Cat' -- Select all remaining example Animal <> 'Dog' AND Animal <> ' Cat' --another way: Animal NOT IN ('Cat', 'Dog')
Use Select by Attributes on layer A again:
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.