I would like to ask for your help with calculating in simple way distance of points feature to one line (for example, what is distance of cities from the national border).
I see there were few topics on this question but I did not manage to calculate it. I tried to use Distance to nearest hub (line to hub) but distances seem to go in the direction of center and not in the direction of the nearest distance.
Thank you a lot for your help.