1

Please show a sample Python code of finding a distance between a point to a polyline in QGIS. (without any plugin)

SS_Rebelious
  • 5,621
  • 3
  • 27
  • 62
wannik
  • 525
  • 1
  • 4
  • 18
  • 2
  • Welcome to gis.stackexchange! Please note that a good question should mention what you have tried so far and exactly where you are having problems. "Can I have code" questions are generally not well received. – underdark Nov 15 '14 at 18:54
  • Thank you for your kind suggestion. I googled and read the api. I guess QgsDistanceArea can be used but I'm not sure how to use it. I also found that GRASS plugin can be used to find the distance but I don't want to use the plugin if there are another solution. – wannik Nov 17 '14 at 03:59

0 Answers0