Bug report #11056

Extend closestSegmentWithContext to all WkbTypes

Added by Caio Hamamura over 9 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
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

Description

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.

History

#1 Updated by Alexander Bruy about 8 years ago

  • Category deleted (PyQGIS Console)

#2 Updated by Giovanni Manghi almost 7 years ago

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

#3 Updated by Jürgen Fischer over 6 years ago

  • Category set to Unknown

#4 Updated by Giovanni Manghi about 5 years ago

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

Also available in: Atom PDF