Closed mpadge closed 6 years ago
osmdata_sf() (and presumably _sp()) can return empty multipolygon geometries. The following code reproduces
osmdata_sf()
_sp()
> graph <- opq ("salzburg") %>% add_osm_feature (key = "highway") %>% osmdata_sf () > graph$osm_multipolygons$geometry [[42]] # MULTIPOLYGON (EMPTY)
These should not be returned
closed with this commit
osmdata_sf()
(and presumably_sp()
) can return empty multipolygon geometries. The following code reproducesThese should not be returned