Displaying 1 result from an estimated 1 matches for "monocolor".
Did you mean:
concolor
2009 Jul 16
2
Problems generating image from tiff file
...iff)
> rasterprojection <- spTransform(californiatiff, CRS("+proj=longlat")
however, when using the plot command for rasterprojection, I get a blob. I
can see the outline of the state of california and nevada, but rather than
being able to see the geographic features, it is just a monocolor blob. My
suspicion is that since it is a list of coordinates and another column that
contains attributes, I need to turn it into a polygon. I've tried the
following codes but none work:
> rasterprojection2<-SpatialPolygons(rasterprojection)
Error in is.vector(X) :
trying to get slot...