[GRASS-user] use pi number

José María Michia jose.maria.michia at gmail.com
Sat Aug 23 04:24:18 EDT 2008

Hello. I can not use the number pi in r.mapcalc. I tried these ways:

r.mapcalc 'prueba = pi()'
r.mapcalc 'prueba = pi'
r.mapcalc 'prueba = PI()'
r.mapcalc 'prueba = PI'

With the following results:

Syntax error

Is this normal? Is IP defined within GRASS / r.mapcalc?

Thanks for your help.
José María

More information about the grass-user mailing list