[GRASSLIST:3835] Re: v.to.rast

Miha Staut mihastaut at yahoo.co.uk
Thu Jul 8 05:34:15 EDT 2004


--- 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


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com




More information about the grass-user mailing list