[R-sig-Geo] Plotting direction vectors from an aspect map

bart bart at njn.nl
Fri Sep 16 12:08:15 CEST 2011


For doing this within R also have a look at ggplot2, with a simple sin 
and cos one could use geom_segment

http://had.co.nz/ggplot2/geom_segment.html

Bart

On 09/16/2011 04:22 AM, Dylan Beaudette wrote:
> This comes to mind:
>
> http://casoilresource.lawr.ucdavis.edu/drupal/node/989
>
> Note shameless self promotion.
>
> Dylan
> On Sep 15, 2011 6:19 PM, "Jonathan Greenberg"<greenberg at ucdavis.edu>  wrote:
>> R-sig-geo'ers:
>>
>> Given an aspect raster (GDAL-readable), is there a way to plot the
>> aspect image using arrows representing each cell's direction? I'm
>> assuming I have to convert the raster to a set of points -- are there
>> arrow symbols and, if so, can you rotate them based on some parameter?
>>
>> Thanks!
>>
>> --j
>>
>> --
>> Jonathan A. Greenberg, PhD
>> Assistant Project Scientist
>> Center for Spatial Technologies and Remote Sensing (CSTARS)
>> Department of Land, Air and Water Resources
>> University of California, Davis
>> One Shields Avenue
>> Davis, CA 95616
>> Phone: 415-763-5476
>> AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list