[GRASS5] g.region G_usage() commented out?
Glynn Clements
glynn.clements at virgin.net
Fri May 17 08:10:29 EDT 2002
Russell Nelson wrote:
> > > On a general note, would it be desirable to have G_{lat|lon|llres}_scan
> > > fall back to reading doubles and then range check the value?
> >
> > I would say so.
>
> Doh! Actually, no, it wouldn't be desirable. Why? Because the only
> place those functions are called is from G_scan_{northing,easting,resolution},
> and if those functions fail, then they fall back to simply scanning a double.
>
> But while I was looking at the code, I spotted two ways to simplify
> the code. Patch below:
Are you sure about the removal of the "marker" code? I would guess
that it's there for a reason (although I have no idea what that reason
might be).
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list