Difference between revisions of "OpasnetUtils/Drafts"

From Testiwiki
Jump to: navigation, search
(Answer)
(Answer)
Line 166: Line 166:
 
     for (i in 1:nrow(obj)) {
 
     for (i in 1:nrow(obj)) {
 
         point <- obj[i, ]
 
         point <- obj[i, ]
        pt_name <- name[i]
 
        pt_description <- description[i]
 
 
         pt_style <- paste("#style", ifelse(length(icon) == 1, 1, i), sep = "")
 
         pt_style <- paste("#style", ifelse(length(icon) == 1, 1, i), sep = "")
 
         kml <- append(kml, "<Placemark>")
 
         kml <- append(kml, "<Placemark>")
         kml <- append(kml, paste("  <description><![CDATA[",pt_description, "]]></description>", sep = ""))
+
         kml <- append(kml, paste(
 +
"  <description><![CDATA[",
 +
name[i],
 +
": ",
 +
description[i],  
 +
"]]></description>",  
 +
sep = ""
 +
))
 
#kml <- append(kml, "<Style><IconStyle>")
 
#kml <- append(kml, "<Style><IconStyle>")
 
#kml <- append(kml, paste("<color>", col2kmlcolor(col[i]), "</color>", sep =""))
 
#kml <- append(kml, paste("<color>", col2kmlcolor(col[i]), "</color>", sep =""))

Revision as of 10:35, 23 December 2013



Question

Which functions are so useful that they should be taken into OpasnetUtils package? This page contains draft function which will be included when they are good enough and found important.

Answer

+ Show code

See also

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>