[Qgis-developer] Python: How to allow for more results using QgsSnapper.snapMapPoint(...)

Matthias Kuhn matthias at opengis.ch
Wed Aug 17 23:02:06 PDT 2016


Hi,

A short note to the future reader on

On 08/18/2016 07:31 AM, Martin Dobias wrote:
> You can go directly through data provider, it is the most efficient way [...]

... if used correctly. I've seen dataprovider methods called in loops
and I/O roundtrips adding up to way slower behavior than if the layer
methods had been used. The efficiency difference normally is negligible
but there's much to loose.

Matthias


More information about the Qgis-developer mailing list