Hi all,
needing to edit/copy/past features from a large vector layer (72,000
features), the select features tool takes ~5sec. each time we want to
use it, where it is relatively faster on smalls vector layers (~4,000
features). Is there a flag at the compilation time to improve the speed,
or
Barry,
After entering the output file name and clicking OK
in the fTools_preview2/Random points panel I get the following error
(binary ubuntu preview2 version):
An error has occured while executing Python code:
Traceback (most recent call last):
File
2008/11/17 Borys Jurgiel [EMAIL PROTECTED]:
def description():
return u'Danke schön'
However... Installer do, but rest of QGIS doesn't support utf-8 in plugin
metadata ;)
I've fixed that in SVN trunk, from r9663 it supports also metadata in unicode :)
Martin
Hi Agus,
After entering the output file name and clicking OK
in the fTools_preview2/Random points panel I get the following error
(binary ubuntu preview2 version):
This is an error due to the recent api changes... These must have been
made after I updated fTools, and I missed it :-(
Sorry
Hi all!
I'm trying to snap a vertex with my python plugin. (Many thanks to Martin for
the quick work with the bindings!)
My code looks like this:
def canvasReleaseEvent(self,event):
x = event.pos().x()
y = event.pos().y()
startingPoint = QPoint(x,y)
result = []
Here's what I do for snapping in python:
def canvasReleaseEvent(self, e):
print mouse click, e
mapcoords =
self.canvas.getCoordinateTransform().toMapCoordinates(e.x(), e.y())
print map position, mapcoords
snapdist = 2
r = qgis_utils.snap(self.layer,
Hi Cedric
I used your code lines and started the debugger. It seems that the
QgsMapCanvasSnapper works correctly. I think the problem has to do with the
QList reference in the binding:
int snapToCurrentLayer( const QPoint p, QListQgsSnappingResult results,
QgsSnapper::SnappingType snap_to,
I used your code lines and started the debugger. It seems that the
QgsMapCanvasSnapper works correctly. I think the problem has to do with the
QList reference in the binding:
int snapToCurrentLayer( const QPoint p, QListQgsSnappingResult results,
QgsSnapper::SnappingType snap_to, double