I am working on an alien species analysis looking at the spread of a species from the mainland to islands in an archipelago. I am doing the analysis using arcpy and I have succeeded in isolating risk zone islands based on how far the alien species can swim. Yup, the critters can swim some 2.000 meters.
With my islands isolated using repetitive buffer analysis I now need to be able to measure the minimum distance between one of the islands in the risk-zone and the mainland. So what I am looking for is something like this:
arcpy.distancebetweenlayers(risk_islands,mainland)
The closest I can get is the point distance tool. Since it only works with points I am out of luck. "Exploding" the features into points could be an option, but I would rather not have to go that way.
- Is there some functionality I have overlooked which can support me on this task?
- Using other libraries than arcpy might be option. Which libraries could give me a quick fix on this one?
For the record I am aware of a similar question with response (Get shortest distance between two geometries in ArcPy) about a year ago, but do not think it sufficiently answered the question.