[GRASS-user] d.out.file now does GeoTIFFs

maning sambale emmanuel.sambale at gmail.com
Wed Oct 29 21:33:46 EDT 2008


I just found out that the output from d.out.file geotiff has some distortions.

See this: http://farm4.static.flickr.com/3007/2984908579_b73cdd3b99_o.png

The lighter relief is the original raster from the GRASS dbase and the
darker one with some green vector is the d.out.file output.  I'm using
qgis to visualize.


On Thu, Oct 30, 2008 at 5:03 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
> 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>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

| __.-._  |"Ohhh. Great warrior. Wars not make one great." -Yoda     |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
|  /'.-c  |Linux registered user #402901, http://counter.li.org/     |
|  |  /T  |http://esambale.wikispaces.com|
| _)_/LI

More information about the grass-user mailing list