enter image description here

Here in the image, the black line is the polyline I have and the red points are the points from which I need to find the distances D1, D2, D3 and D4.

The polyline data is extracted from Google directions api.

Sample polyline:


And, sample points:

18.57847, 73.74055
18.57818, 73.73683
18.58348, 73.73603
18.58022, 73.73868
  • What GIS system do you indent to use? You say python, but why python when this question is trivial for GIS software? – Hornbydd May 31 at 15:07
  • look at Drawing perpendicular lines in PyQGIS? – gene May 31 at 15:23
  • I need the distance value of the perperdiculars from the polyline to those points. – Koustav Chanda May 31 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.