I have a polyline feature class made up of multiple segments. This feature class overlays a polygon feature class representing the countries through which this polyline is going. For each segment, I would like to add an attribute containing all the countries through which the segment crosses, delimited by a comma for example.
I have tried a Spatial Join, using the polyline as the target and the polygon as the join feature. Unfortunately this has resulted in null values for the country attribute.