readogr | R Documentation |
Read a shapefile using the RGDAL library. Essentially this is just a wrapper around vect
from the terra package.
readogr(x, ...)
x |
character string. Path to the shapefile to be read in. |
... |
further arguments passed on to |
DEPRECATED!!!
This wrapper splits a path to a shapfile into the dirname
and the basename
. The latter is passed
as dsn argument the first as layer argument to readOGR
.
This now is just a wrapper of vect
from the terra
package and kept for compability issues.
Simon Frey
writeogr
terra:writeVector
#### not run ####
x <- "C:/TEMP/someshapefile.shp"
readogr(x)
#### end not run ####
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.