[Qgis-developer] How to change layer without redrawing the whole map

Kanwar, Jonny J.Kanwar at fraport.de
Wed Nov 2 04:26:51 EDT 2011


Dear all,

We would like to write a Qgis plugin (either C++ or python, doesn't
matter) that allows us to visualize movements of vehicles over time.
Suppose the plugin provides coordinates for each second and vehicle. Our
fear is that for each frame to be rendered the whole map is redrawn. Do
you see a way to enable Qgis to only update the animated layer and not
all layers at once?

We know there is the time manager plugin that provides capabilities
similar to our requests. However, at our tests, this plugin suffered of
poor performance.

To get a bit more technical: As far as I understand the QgsMapCanvas has
to be redrawn as soon as a single element of one of the layers changes.
Is there a way to add some overlay that is just merged with the other
(already rendered) image?

Thanks for your support.

Jonny Kanwar


******************************************

******************************************


Fraport AG
Frankfurt Airport Services Worldwide
60547 Frankfurt am Main

Sitz der Gesellschaft:
Frankfurt am Main
Amtsgericht Frankfurt am Main: HRB 7042
Umsatzsteuer-Identifikationsnummer: DE 114150623

Vorsitzender des Aufsichtsrates:
Karlheinz Weimar - Hessischer Finanzminister a.D.

Vorstand:
Dr. Stefan Schulte (Vorsitzender)
Herbert Mai
Peter Schmitz
Dr. Matthias Zieschang
******************************************
Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
******************************************


More information about the Qgis-developer mailing list