Reading DWG files in R?

3.8k views Asked by At

Is there any way to open a DWG file in R and save it as an ESRI shapefile? I don't know any package available yet.

Thanks in advance.

1

There are 1 answers

0
Jeffrey Evans On

You can do this using the rgdal package which is a port to GDAL. To access the OGR functionality that supports vector topology you want the readORG and writeOGR functions. Here is a list of vector formats supported by GDAL/OGR