[GRASS-dev] ganim troubles in latest cvs
Glynn Clements
glynn at gclements.plus.com
Sun Sep 30 12:53:50 EDT 2007
Michael Barton wrote:
> I haven't updated in a few days but don't have a problem. Have you run
> g.region to see what your resolution is? The res=0.0 is the problem. It is
> getting this value from running g.region previously in your mapset,
> returning rows, columns, and res.
GmAnim::main has:
regexp {nsres= *([0-9]+)} $region dummy oldres1
regexp {ewres= *([0-9]+)} $region dummy oldres2
This isn't going to work if your resolution is less than one unit,
e.g. lat/lon regions.
The regexp needs to allow for a decimal point.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list