Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a shapefile of U.S. states. I want to create a feature layer from it so that I can do a Near analysis with it.

Suppose that I am interested in the Georgia boundary, but only the part of Georgia that touches South Carolina? How could I extract just that segment?

Or, suppose I am additionally interested in the part of Georgia that touches both North Carolina and South Carolina but not at all Alabama, Tennessee, or Florida?

share|improve this question
up vote 4 down vote accepted

1) Run the Intersect (Analysis) tool

2) Add your states polygon layer as the only input feature

3) Specify your output shapefile

4) Change your Output Type to LINE

The output layer will show all the lines shared by all the polygons in your input layer. Note that you will have two lines per adjacent border. Select one of the lines (border between GA and NC for example) and export it to a shapefile. Use this shapefile in your Near (Analysis) tool.

----- or -----

1) Select Georgia, export it out as a shapefile, call it GA

2) Select North Carolina, export it out as a shapefile, call it NC

3) Run Intersect (Analysis), use GA and NC as inputs, specify your output shapefile, change your output layer type to LINE

The output line layer will show exactly where the two polygons share boundaries.

Repeat for other states as necessary.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.