I have 2 point layers, I want to calculate the shortest distance between 2 point layers by python code and enclose the conditions of satisfaction. For example, a point a when there is the shortest distance with point b and this a point must have a field that satisfies the given condition.

Is there any python to do it?



Browse other questions tagged or ask your own question.