How to create variables for coastal cities?

566
2
05-01-2017 09:00 AM
JoãoFrancisco_Pugliese
New Contributor II

Hello,

I have a shapefile for a coastline, I have the boundaries and centroid points for municipalities. I created a measure of "Distance to coastline" but I also would like to know if a city area is in contact with the coast or not.

I attempted to find it online but did not come up with anything.

Any ideas?

Thanks,
João

0 Kudos
2 Replies
forestknutsen1
MVP Regular Contributor

You could run an intersect with points as the output... If you get a point at least part of the city is on the coast.

How Intersect works—Help | ArcGIS Desktop 

Intersect—Help | ArcGIS Desktop 

XanderBakker
Esri Esteemed Contributor

If your coast lines are indeed lines, you could use a select by location and apply a tolerance (search distance):

If your coast "lines" are polygons representing land you could evaluate if the coast polygon borders touch the cities but you wont be able to apply a search distance:

If your coast lines are polygons representing the sea, you could use the intersect and apply a search distance to account for lack of precision between the layers.