0

I have a single-point shapefile with gauging locations all around the world, and I also have a shapefile with country boundaries.

See picture of files.

files

How can I extract the point files that are located within each country and return point feature files based on countries?

I tried to do this manually by just selecting the points and exporting the data to a new file, but was looking to find a way to automate the task instead of doing it manually.

I am using ArcGIS Pro.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Adi
  • 327
  • 2
  • 11

1 Answers1

2

Steps:

  1. Create a Spatial Join. Target Features: points - Join Features: polygons - Join Operation: Join one to many - Match Option: Within. enter image description here
  2. Use the Split by attribute geoprocessing tool on the newly created feature class. enter image description here
  3. Result enter image description here
Bernd Loigge
  • 2,413
  • 9
  • 14