[R-sig-Geo] Large PDF files when using tiff raster images as background
dominik baenninger
baenni at kiecks.de
Mon May 4 23:45:15 CEST 2009
Dear list,
When plotting spatial informaion it is common to use a pixel map as
background. Therefore I used the following commands (in brief)
library(sp)
library(rgdal)
pdf()
readGDAL(geotiff-file)
image()
plot(...,add=T)
dev.off()
This works fine, however, the original tiff file has a size of about
600kb, the pdf 20MB even I do not add any further information. Since I
like to add point and line information with the plot command I would
like to generate some kind of vecotrbased graphics. Any idea how I can
the geotiff-background without producing large files?
Thanks for any hint in advance.
More information about the R-sig-Geo
mailing list