r - Use osmar to load all data from an OSM file -
the standard workflow osmar is:
src <- osmsource_osmosis(file = "my_place.osm") muc_bbox <- center_bbox(11.575278, 48.137222, 3000, 3000) muc <- get_osm(muc_bbox, src)
but if want load of data myplace.osm
, don't know priori bounding box?
there doesn't seem obvious way of getting bounding box contains data, or of telling get_osm
load everything.
i used default box corner arguments osmosis:
muc_bbox <- corner_bbox(left = -180, right = 180, top = 90, bottom = -90)
Comments
Post a Comment