[GRASS-user] d.out.file now does GeoTIFFs
Glynn Clements
glynn at gclements.plus.com
Wed Oct 29 17:03:56 EDT 2008
Hamish wrote:
> > > Unfortunately 'd.info -g' is buggy, it reports exactly the same as
> > > 'g.region -g'. But if that was fixed it would be an easy solution.
>
> fixed in devbr6 but not trunk; I'm unsure about the changes needed.
7.0 doesn't have D_get_screen_window(); D_setup() uses R_get_window()
instead (R_get_window() reports the raster clip region, which is
initially set from $GRASS_FRAME).
Also, I would suggest reporting the values returned from D_get_u_*
rather than using the current region directly (which can always be
obtained from g.region).
Although the two should match, it's the values reported by D_get_u_*
which are actually used, so using D_get_u_* would be more robust in
the face of any future extensions (e.g. allowing the region to be
enlarged to fit the window rather than shrinking the window to fit the
region).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list