Displaying 1 result from an estimated 1 matches for "kasur3".
Did you mean:
kasur
2012 Feb 22
1
How can I save plot()/points() using SHP files into KML format?
...ar as I've gotten (code below) and am lost as to next steps,
Any suggestions or references would be greatly appreciated! Thanks in
advance for any help.
Gabe
# Initialize pseudo random number generator
set.seed(700124)
# Read vector representation of the map
Kasur <- readOGR("Kasur3.shp", layer = "Kasur3")
# Plot points
png("Kasur.png")
plot(Kasur)
points(spsample(Kasur, n=100, type='random'), col='red', pch=0, cex=0.5)
dev.off()
--
View this message in context: http://r.789695.n4.nabble.com/How-can-I-save-plot-points-using...