Hi Mehdi,
No problem, we all have to start somewhere! Glad to have helped.
If you take a look at
http://wiki.r-project.org/rwiki/doku.php?id=tips:spatial-data:spatial_data_visualization
you will find some tips on how to plot spatial data using spplot.
Including how to plot a grid together wit
Paul,
Thank you very much for your explanation. I have only been using R for GIS
purposes for about a week, so my expertise in the field is shallow. Your
explanation helped me out and I was able to plot the tif file simply by
using the spplot command.
The reason I was projecting it was that I a
Hi Mehdi,
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
I don't mean to rude, but you seem to lack basic knowledge regarding the
use of spatial data in R. Starting to use R is hard, but please ask
when you post this can you please remove the tiff file? my supervisor
doesn't want me to let it out. sorry!
On Thu, Jul 16, 2009 at 4:02 PM, Mehdi Khan wrote:
> I imported the attached tiff file and converted the coordinate system to
> long lat and graphed it:
>
> californiatiff<- readGDAL("cal
I imported the attached tiff file and converted the coordinate system to
long lat and graphed it:
californiatiff<- readGDAL("california1.tif")
proj4string(californiatiff)
> rasterprojection <- spTransform(californiatiff, CRS("+proj=longlat")
however, when using the plot command for rasterprojecti
5 matches
Mail list logo