[Qgis-developer] Adding python bindings for quickprint
wonder.sk at gmail.com
Wed Jan 16 09:17:07 EST 2008
On Jan 16, 2008 2:36 PM, Magnus Homann <magnus at homann.se> wrote:
> Martin Dobias wrote:
> > I understand the point, but I think it would be much better to build
> > upon existing code of map composer than to do the same in different
> > way.
> You have a point. Let's wait till map composer branch is merged, and see
> if we can work on that?
Yes, that's what I would prefer... QGIS libraries should get support
for map compositions and printing. With some effort we could move map
composer backend to QGIS core library and composer frontend either
leave in app code or move it to gui library. Then I can imagine usage
1. create a composition template or load it from a file
2. create composition, set template and map render class (has list of
layers, extent, coordinate transform)
3. do some action (print to pdf / svg / image / printer)
These all steps can take just 5 lines of code...
And there could be some simple ready to use templates for those who
don't like to prepare their own templates.
More information about the Qgis-developer