R/shapefiles.R

readDataShapefile <- function(dirPath, layer) {
  readOGR(dsn = dirPath, layer = layer, encoding = "UTF-8", verbose = F)
}

readDataGeojson <- function(geojsonPath) {
  readOGR(geojsonPath, "OGRGeoJSON", verbose = F)
}
filipstachura/rappsilon documentation built on May 16, 2019, 12:53 p.m.