R package for downloading OpenStreetMap data
at main 53 lines 1.4 kB view raw
1% Generated by roxygen2: do not edit by hand 2% Please edit documentation in R/osmdata-class.R 3\name{osmdata} 4\alias{osmdata} 5\title{osmdata class def} 6\usage{ 7osmdata( 8 bbox = NULL, 9 overpass_call = NULL, 10 meta = NULL, 11 osm_points = NULL, 12 osm_lines = NULL, 13 osm_polygons = NULL, 14 osm_multilines = NULL, 15 osm_multipolygons = NULL 16) 17} 18\arguments{ 19\item{bbox}{bounding box} 20 21\item{overpass_call}{overpass_call} 22 23\item{meta}{metadata of overpass query, including timestamps and version 24numbers} 25 26\item{osm_points}{OSM nodes as \pkg{sf} Simple Features Collection of points 27or \pkg{sp} SpatialPointsDataFrame} 28 29\item{osm_lines}{OSM ways \pkg{sf} Simple Features Collection of linestrings 30or \pkg{sp} SpatialLinesDataFrame} 31 32\item{osm_polygons}{OSM ways as \pkg{sf} Simple Features Collection of 33polygons or \pkg{sp} SpatialPolygonsDataFrame} 34 35\item{osm_multilines}{OSM relations as \pkg{sf} Simple Features Collection 36of multilinestrings or \pkg{sp} SpatialLinesDataFrame} 37 38\item{osm_multipolygons}{OSM relations as \pkg{sf} Simple Features 39Collection of multipolygons or \pkg{sp} 40SpatialPolygonsDataFrame} 41} 42\description{ 43osmdata class def 44} 45\note{ 46Class constructor should never be used directly, and is only exported 47to provide access to the print method 48} 49\examples{ 50# This function should not need to be called directly! 51osmdata () 52} 53\concept{class}