plot(test1, add = TRUE)
But, that assumes the test1 object read from shapefile is using the
same coordinate system as the raster, and that it shares at least some
of the same extent. If they are in different coordinate systems
(projection) one or the other must be transformed, if they don't
Hi,
Thank Michael, I resolved my problem with your help. the projections of the
layers were the same.
Ok for reading the posting guide and . R sig geo list.
--
View this message in context:
http://r.789695.n4.nabble.com/To-overlay-my-raster-and-its-boundary-tp4493705p4494900.html
Sent from
Hi
I want to overlay my raster and its boundary which is a shapefile.
When I used thise code separately, all is ok:
# Open raster
Image-read.table(C:\\Users\\Documents\\Nouveau\\Frequence.txt,sep=,dec=,,header=TRUE)
testo-rasterFromXYZ(Image)
plot(testo)
testo2 -
3 matches
Mail list logo