Re: grass python problem

Maris Nartiss <[email protected]>
Newsgroups gmane.comp.gis.grass.devel,gmane.comp.gis.grass.user
Message-ID <CAK8GbeD1bLiiSyYEnSNu5Be_hmySG-mr76aoe0DusZmLcMVNQQ@mail.gmail.com>
Please provide more information:
GRASS version
Python version
exact error message

I did not observe any errors while running command you provided (of
course I used different map names to match map names I had on my
system).
Māris.

otrd., 2020. g. 17. nov., plkst. 06:04 — lietotājs ming han
(<[email protected]>) rakstīja:
>
> Hi Everyone
>
>     Hope this email finds you well.
>     I can run r.cross in console with following command:
>     "r.cross -z --overwrite --quiet input=Connect_Lake@PERMANENT,str_grass_r@PERMANENT output=test"
>
>     But I got error by run r.cross in python with following command:
>     grass.run_command('r.cross', input = ['str_grass_r@PERMANENT','Connect_Lake@PERMANENT'],output = 'test', quiet = True)
>
>      What is the correct format to use r.cross function in Python? and how to obtain the output table generated by r.cross?
>
> Thanks
> Ming
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.