[Qgis-developer] Automatizing map making

Pedro Camargo veigacamargo at gmail.com
Mon Sep 17 16:07:58 PDT 2012


Hi,
     I have been using QGIS for a few months now after almost a decade
using Maptitude and TransCAD (from Caliper Corporation).

     Now that I already know how to get around pretty well with QGIS, I
want to use it to production of series of maps (from a few dozens to
hundreds at a time).

     My current problem is to make simple maps with graduated style and
fixed classes for several different fields on the database.

   Looking at the PyQGIS documentation helped a bit, but I got several
errors like "NameError: name 'QtGui' is not defined" and for many other
names/libraries in the sample code I used, so I'm pretty sure that I have
something missing that was not mentioned in the documentation or that I
missed.

   Further, I'm interested in making maps with fields that are not in the
database, so I need to make a join too (which is not mentioned anywhere in
the documentation I saw).

    I would imagine that there is a way to open a project, change something
(like the fields for the graduate rendenring), update the map composer and
save the jpg, but I didn;t see anything like that...

    Did anybody face a situation like this? Any recomendations?  Any sample
code you could share?

Thanks for the help,

Pedro
UC Irvine




PS - Sorry for posting in two lists, but I really have no idea where to
send this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120917/3996745e/attachment.html>


More information about the Qgis-developer mailing list