[Qgis-developer] Some questions about PyQGIS

Borys Jurgiel borysiasty at aster.pl
Sun Apr 5 02:54:10 EDT 2009


Sunday 05 of April 2009 00:35:38 Martin Dobias napisał(a):
> Hi German
> 
> 2009/4/2 Germán Carrillo <carrillo.german at gmail.com>:
> > Hi, I read the QGIS API documentation and tried to implement it. I have some
> > questions/problems and I would like you to help me:
> >
> > 1. Is it possible to set the canvas scale manually? The only method I see is
> > in MapRenderer class but it is not accessible for canvas.mapRenderer() (I
> > get AttributeError: setScale).
> 
> Someone probably forgot to add this function to python bindings...
> I've revised the bindings and fixed this (and few more missing
> functions) in svn trunk (r10467) and it will be included in version
> 1.1.

This is probably the first important difference between the 1.0 and 1.1 API.What 
about creating a wiki page with a change list? 


More information about the Qgis-developer mailing list