R: Combine osmar objects

c.osmar {osmar} | R Documentation

## Combine osmar objects

### Description

Combine two or more `osmar` objects.

### Usage

      ## S3 method for class 'osmar'
     c(...)

### Arguments

`...` | `osmar` objects to be concatenated

### Value

An `osmar` object based on the provided objects

### Examples

    ## Not run:
        muc <- get_osm(center_bbox(11.575278, 48.137222, 200, 200))
        o1 <- subset(muc, node_ids = find(muc, node(tags(v == "Marienplatz"))))
        o2 <- subset(muc, ids = find_down(muc, way(c(96619179, 105071000))))

        o1
        o2
        c(o1, o2)

    ## End(Not run)

[Package osmar version 1.1-7 Index]