Bug report #11056

Extend closestSegmentWithContext to all WkbTypes

Added by Caio Hamamura almost 6 years ago. Updated over 1 year ago.

Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:19390


closestSegmentWithContext is a great functionality. I think that it would be very useful if you could provide any WkbType instead of QgsPoint.

If I need to find the closest segment to a WkbPolygon for example I would have to loop through all points and will have a poor performance in python.


#1 Updated by Alexander Bruy over 4 years ago

  • Category deleted (PyQGIS Console)

#2 Updated by Giovanni Manghi over 3 years ago

  • Easy fix? set to No
  • Regression? set to No

#3 Updated by Jürgen Fischer almost 3 years ago

  • Category set to Unknown

#4 Updated by Giovanni Manghi over 1 year ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF