Create an empty raster for an area. It downloads the area from OSM services, and then creates an empty raster of this area.
osm.CreateEmptyRaster(inPerioxi = "Mytilene Municipal Unit")
The name of an area (string) for searching the OSM services.
An empty raster that covers the full area
Other osm:
osm.ClipSFnetwork_with_poly()
,
osm.bb_2_pol()
,
osm.combineAmenities()
,
osm.combineShops()
,
osm.getFrequency()
,
osm.getLength_footway()
,
osm.getPOI_usingbb()
,
osm.getPOI()
,
osm.getRoads()
,
osm.osmdata_result_2_bbox_pol()
library(devtools)
#> Loading required package: usethis
#install_github("dimitrisk/goal")
library(raster)
#>
#> Attaching package: ‘raster’
#> The following object is masked from ‘package:tidygraph’:
#>
#> select
library(goal)
result = goal::osm.CreateEmptyRaster(inPerioxi="Mytilene Municipal Unit")
result
#> class : RasterLayer
#> dimensions : 180, 360, 64800 (nrow, ncol, ncell)
#> resolution : 0.0004453886, 0.0009165467 (x, y)
#> extent : 26.45563, 26.61597, 39.00806, 39.17304 (xmin, xmax, ymin, ymax)
#> crs : +proj=longlat +datum=WGS84 +no_defs
#>