[GRASS-dev] Re: test of v.area.thematic

Glynn Clements glynn at gclements.plus.com
Fri Jan 4 07:27:33 EST 2008


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.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list