R/as-osm.R

#' Convert osmar object to OSM-XML
#'
#' Convert an osmar object to an OSM-XML object.
#'
#' @param obj An \code{\link{osmar}} object
#' @param ... Ignored
#'
#' @return An xml object
#'
#' @note Not yet implemented!
as_osm <- function(obj, ...) {
  stopifnot(class(obj) == "osmar")

  stop("Not yet implemented")
}
gergness/osmar2 documentation built on May 17, 2019, 2:10 a.m.