Displaying 1 result from an estimated 1 matches for "points_names".
2013 Nov 29
0
Formatting output of plotKML
...Grid co-ordinate system so it gets converted before writing
out as a SpacialPointsDataFrame.
According to the ?plotKML documentation there is a colour argument;
however attempting to call it with a vector of required colours fails:
> plotKML(map_data_lat_long,
+ file.name='test.kml',
+ points_names = map_data_lat_long at data$Label,
+ colour = col2kml("red") # or map_data_lat_long at data$colour -
with or without col2kml
+ )
Error in `[.data.frame`(obj at data, , as.character(colour)) :
undefined columns selected
Suspecting a localisation issue I tried color instead. This did not
e...