readShapeSpatial

Lazar

Phineas Packard
#1
Hi All,

I am trying to read into R the .shp file for Postal Areas ASGS Non ABS Structures Ed 2011 Digital Boundaries in ESRI Shapefile Format from http://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1270.0.55.003July 2011?OpenDocument

When I work with other files from this area (e.g., Local Government Areas) I have no problem. However, when I try:

Code:
> library(maptools)
> pcMap <- readShapeSpatial("POSTCODE/postcodes/POA_2011_AUST.shp")
I get:
Code:
Error in readShapeSpatial("POSTCODE/postcodes/POA_2011_AUST.shp") : 
  File type cannot be read
*Note reading in the .dbf file works fine.
 

Lazar

Phineas Packard
#2
Yeah so using rgdal package to read in the file instead of maptools works...sort of. Still missing a county or two from Tasmania but I can live with that ;)