[Qgis-user] Vector Layer Translate Feature

Pietro Panzeri pietro.panzeri at treuropa.com
Mon Mar 30 06:12:58 PDT 2009


Hi all,

I'm writing a Python plugin to allow the user to translate a whole vector 
layer by a given shift.

I use the translateFeature() of the QgsVectorLayer class but if the layer is 
zoomed the function translates only the visualized features.

Can someone point me a way to act on the whole layer regardless of the current 
zoom?

Thank you very much.

Pietro


-- 
------------------------------------------------------------
Pietro Panzeri

Tele-Rilevamento Europa - T.R.E. s.r.l.
a POLIMI spin-off company
Via Vittoria Colonna, 7
20149 Milano - Italia
tel.: +39.02.4343.121
fax: +39.02.4343.1230
e-mail: pietro.panzeri at treuropa.com
web: www.treuropa.com
-------------------------------------------------------------




More information about the Qgis-user mailing list