[GRASS-user] Re: grass

Dylan Beaudette dylan.beaudette at gmail.com
Tue Oct 23 12:51:22 EDT 2007


On Tuesday 23 October 2007, ec.jkd at tpcsed.com wrote:
> hi,
> I am working on grass 6.2 with a dgn map.
> now i have converted this map into raster for finding line of sight.using
> v.to.r now i used r.los in=DGN_rast out=rast_los coor=x,y
> this give me output from the given point in 360degree
> but i want to find line of sight between only two points.
> you said use mapcalc for creating a patt_map file
> Now mapcalc says
> r.mapcalc pat_map= "if(where you want,1 0)"
> eg : r.mapcalc pat_map= "if(road<5,1, 0)
> Here this "5"resembels category value ,now when i sain r.report my DGN_rast
> map have 63 cat value but it dose not give me any description saying what
> dose this cat value resembles......so help me with proper syntax and format
> Now can you tell me how should i fill up this syntax with this issue(los)
> in mind. And ya after this pat_map file is created then am i suppose to use
> r.los again and then how will i b able to see i.e will it be showing twom
> points and a green line or something else? Someone plz try and help me i am
> struggling for this since long .



Can you describe the task which you are trying to solve with GRASS ?

Dylan


-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341




More information about the grass-user mailing list