Nothing
## Add netgeom column to sf data.frame sf_data
create_netgeom <- function(sf_data, type = NULL) {
if (type == "point") {
sf_data[, "netgeom"] <- paste0("SNETWORK (", paste(
sf_data$netID, sf_data$rid, sf_data$upDist,
sf_data$ratio, sf_data$pid, sf_data$locID
), ")", sep = "")
} else {
sf_data[, "netgeom"] <- paste0("ENETWORK (", paste(
sf_data$netID,
sf_data$rid,
sf_data$upDist
),
")",
sep = ""
)
}
return(sf_data) ## Return sf data.frame with netgeom column added
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.