Re: [Qgis-user] Automatizing map making

2012-09-17 Thread S. Wagenaar

Hi Pedro,

This article describes how to generate a series of maps, using a batch file:
http://www.qgis.nl/2012/07/28/series-kaarten-genereren/?lang=en

Sake

Op 18-9-2012 1:07, Pedro Camargo schreef:

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.



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Automatizing map making

2012-09-17 Thread pcreso
The best tool I know for scripted cartography is GMT (Generic Mapping Tools). 
ogr2ogr will execute database queries & output GMT compatible datasets.

For things like "for species in list, draw map" it is very powerful & 
effective. But doesn't help with how QGIS can do this I'm afraid.

Brent Wood

--- On Tue, 9/18/12, Pedro Camargo  wrote:

From: Pedro Camargo 
Subject: [Qgis-user] Automatizing map making
To: qgis-user@lists.osgeo.org, qgis-develo...@lists.osgeo.org
Date: Tuesday, September 18, 2012, 11:07 AM

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, PedroUC Irvine 

   PS - Sorry for posting in two lists, but I really have no idea where to send 
this e-mail.

-Inline Attachment Follows-

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Automatizing map making

2012-09-17 Thread Pedro Camargo
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.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user