[R-sig-Geo] tooltips or annotation

Erich Subscriptions erich.subs at neuwirth.priv.at
Tue Jun 16 16:09:07 CEST 2015


I just tried the same test  on Ubuntu with all the latest packages and had the same problem.

writeOGR does not work for GeoJSON

cities <- readOGR(system.file("vectors", package = "rgdal")[1], "cities")
is.na(cities$POPULATION) <- cities$POPULATION == -99
summary(cities$POPULATION)
td <- "."
writeOGR(cities, td, "cities", driver="ESRI Shapefile") # this works
writeOGR(cities, td, "cities", driver="GeoJSON") # this fails



More information about the R-sig-Geo mailing list