I have a pipeline feature class (line) and a pumping station feature class (polygon). Now, I wants to retrieve the endpoints of pipelines (green points) inside pumping stations. I have used the "Intersect" geoprocessing tool but it only retrieves the intersections of pipelines and pumping stations (grey points). How can I do so by arcPy?
