[GRASSLIST:3852] Re: v.to.rast
Michael Barton
michael.barton at asu.edu
Fri Jul 9 01:53:09 EDT 2004
Sabine,
You can use d.out.png to export the current display to a *.png
file--which you then can insert into PowerPoint. This is in the 'file'
menu in GRASS 5.3 and 5.7. If you have a 5.0.x version, you can
download the script from the script exchange on my website and use it
from the command line <www.public.asu.edu/~cmbarton/grass.htm
To get larger points using GRASS 5.0.x or 5.3, use the d.sites.icons
script. Make an icon that you like using p.icons and a text editor
(check out d.icon in the manual), then display it for your sites using
d.sites.icons. For example the following makes a 'house' icon.
x
xxx
xxxxx
xxxxx
xxxxx
You can set the size and color just like in the standard sites symbols.
Hope this helps.
Michael Barton
On Jul 8, 2004, at 10:01 PM, Multiple recipients of list wrote:
>
>
> --- Sabine Grabner <csab7771 at uibk.ac.at> wrote: >
>> hello, i need a picture of my digital elevation
>> model with a few
>> meteorological stations for a power point
>> presentation. i thought i convert my
>> vector data to raster and merge the two rasters
>> together.
>>
>> but when i use v.to.rast i get only one station out
>> of 30!?
>>
>> the table of the vector looks like this:
>> cat | x | y | z |
>> name
>>
> -----+---------------+----------------+------+---------------------
>>
>> 1 | 194197.23537 | 5191251.584895 | 1906 | Vent
>> 2 | 226928.392144 | 5236860.658687 | 579 |
>> Innsbruck-Flughafen
>> 3 | 202576.650269 | 5192186.387956 | 1938 |
>> Obergurgl
>> 4 | 265000.467163 | 5225174.19567 | 643 |
>> Mayrhofen
>> ...
>>
>>
>> GRASS 5.7.0:~/diss/grassdata > v.to.rast
>> in=meteostation out=meteostation
>> use=...
>>
>> no matter which use option i take,i get only one
>> point, which appears always
>> at the same coordinates also independent of the cat
>> i choose.
>>
>> using use=attr i get an error message:
>> GRASS 5.7.0:~/diss/grassdata > v.to.rast
>> in=meteostation out=meteostation
>> use=attr col=name
>> Loading vector information ...ERROR: Column type not
>> supported by
>> db_select_to_array()
>>
>> using 'z' instead of 'name' works, but i get also
>> just one point.
>>
>> by the way, my point is very small, is there a
>> possibility to make it larger?
>>
>> does anyone have an idea how to get my items to the
>> power point presentation?
>>
>> thank you, sabine
>
> Why don't you try to print all with the PNG driver (if
> you would like a raster) or even better with ps.map?
> In ps.map you have several options for controling the
> graphical attributes of your points.
>
> Miha Staut
>
>
____________________
C. Michael Barton, Professor
School of Human Origins, Cultures, & Societies
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
More information about the grass-user
mailing list