On 04/01/08 13:27, Glynn Clements wrote:
Moritz Lennert wrote:

I think that for those who will use a gui we need to create a special thematic mapping gui which combines all the modules doing something like (no idea of the real python commands):

breaks=os.system('v.class -g ...')
legend=os.system('d.area.thematic -l ... breaks=breaks')

The os.system() call should be avoided in favour of the
subprocess.Popen class.

Yes, sorry, this was meant as a rough example. That's why I said that I had no idea of how to really do this in Python (and I plead guilty to the laziness for not looking it up since you have mentioned this quite often...).

Moritz
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to