R/as-osm.R

Defines functions as_osm

Documented in as_osm

#' 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")
}

Try the osmar package in your browser

Any scripts or data that you put into this service are public.

osmar documentation built on May 1, 2019, 7:33 p.m.