search for: sl_df

Displaying 1 result from an estimated 1 matches for "sl_df".

Did you mean: sdf
2010 Nov 26
1
Generating kml lines output
...- Lines(lines_list[[i]], ID = paste( out$BF[i] ) ) } Lines object to SpatialLines object s_l <- SpatialLines(lines_list_list) SpatialLines object to SpatialLinesDataFrame object df = data.frame(z = c(1 : N), row.names = sapply(slot(s_l, "lines"), function(x) slot(x, "ID"))) sl_df <- SpatialLinesDataFrame(s_l, data = df) kmlLine(sl_df, kmlfile = "output.kml") -- while(!succeed) { try(); }