4 - Select by Location - ArcMap Scripting with Python and Arcpy
Learn how to use Python and Arcpy with ArcMap This shapefile changed slightly over the years, You may need to use this query instead - """ "NAME" = 'United States of America'""" not "United States" In newer versions of this shapefile the NAME value changed from United States to United States of America. Thanks to all the commenters for pointing this out. New Series on ArcGIS Pro! https://www.youtube.com/playlist?list=PLO6KswO64zVt8YCuKIOdCsJvlUivXETGu Code available on GitHub - https://github.com/franchyze923/Code_From_Tutorials/tree/master/Arcgis%20Scripting%20with%20Python%20Arcpy Instagram - https://www.instagram.com/franchyze923 Twitter - https://twitter.com/franchyze923 Discord - https://discord.gg/CQ98P7fjDV
Learn how to use Python and Arcpy with ArcMap This shapefile changed slightly over the years, You may need to use this query instead - """ "NAME" = 'United States of America'""" not "United States" In newer versions of this shapefile the NAME value changed from United States to United States of America. Thanks to all the commenters for pointing this out. New Series on ArcGIS Pro! https://www.youtube.com/playlist?list=PLO6KswO64zVt8YCuKIOdCsJvlUivXETGu Code available on GitHub - https://github.com/franchyze923/Code_From_Tutorials/tree/master/Arcgis%20Scripting%20with%20Python%20Arcpy Instagram - https://www.instagram.com/franchyze923 Twitter - https://twitter.com/franchyze923 Discord - https://discord.gg/CQ98P7fjDV