Displaying 1 result from an estimated 1 matches for "rasterprojection2".
Did you mean:
rasterprojection
2009 Jul 16
2
Problems generating image from tiff file
...ifornia 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 "Polygons" from an object of a basic class ("integer")
with no slots
rasterprojection2<- Polygons(rasterprojection)
Error in as.vector(x, "list") :
cannot coerce type 'S4'...