Error opening SHP file in R using maptools readShapePoly

后端 未结 7 2050
别那么骄傲
别那么骄傲 2021-01-01 16:53

I am new to R and was following the following tutorial on the ggplot2 package found here. However the readShapePoly() function throws an error whenever I try to load the bas

7条回答
  •  清酒与你
    2021-01-01 17:10

    I had a similar issue, and it was because there were several other files along with the '*.shp' shape file in the zip package that I downloaded. Then I only moved the shape file to another folder and it didn't work. When including all files together, it was fine and I could readShapeSpatial() function okay.

提交回复
热议问题