[GRASSLIST:8404] Re: ps.map resolution

Ian MacMillan ian_macmillan at umail.ucsb.edu
Sun Sep 25 15:31:26 EDT 2005


Glynn, I guess I just don't understand.  The raster can not be written 
at the region's resolution with ps.map.  In my example I sent, the same 
region produced rasters of different resolution solely based on the 
scale entered in ps.map.  The resolution is much coarser for a 1:50000 
map compared to a 1:500 map.  These maps were made without changing the 
region.  I understand that the raster is embedded within the postscript 
file, but that raster's resolution can not be based only on the 
region's settings if one can get different resolutions without changing 
the region.

So it seems to me that the resolution is based on the region, and the 
output device that the postscript is written to.  The effective 
resolution of the raster in the postscript file does not necessarily 
equal that of the region.  My question is this, how does one get an 
effective resolution equal to that of my region in my final postscript 
file using ps.map?  Can I set up a fake output device with a really 
high resolution in Grass 6?

Does my problem make sense?

-Ian


On Sep 25, 2005, at 5:56 AM, Glynn Clements wrote:

>
> Ian MacMillan wrote:
>
>> Glynn, if I understand you correctly, the postscript file is written 
>> at
>> the resolution of the region as long as that is coarser than the 
>> output
>> device.  Otherwise, the file is written at the resolution of the 
>> output
>> device.
>
> No.
>
> PostScript files don't have a resolution. A PostScript file is a
> program which draws graphics onto a framebuffer (a 2D array of
> pixels). The framebuffer has a resolution determined by the hardware.
>
> Any rasters which are embedded in a PostScript file will have a
> resolution. For ps.map's "raster" command, this is determined by the
> current region settings.
>
> -- 
> Glynn Clements <glynn at gclements.plus.com>
>
 >
 >
What happens if a big asteroid hits Earth? Judging from realistic 
simulations involving a sledge hammer and a common laboratory frog, we 
can assume it will be pretty bad.
  - Dave Barry


-------------------------------------------------------------
This message has been scanned by Postini anti-virus software.




More information about the grass-user mailing list