Hi all,

 

It's probably a [silly] question that's more to do with "Shapefiles"
than R.  

 

I was just trying to read in a shape file from
http://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1270.0.55.003July%20
2011?OpenDocument 

> Suburb10aAust.shp <- readShapePoly(file.choose(),
proj4string=CRS("+proj=longlat"))

Shapefile type: PolygonM (25), # of Shapes: 8529

 

Error in read.shape(filen = fn, verbose = verbose, repair = repair) : 

  Shapefile type not (yet) handled by this function

 

I've also tried:

> Suburb10aAust.shp <- readShapeSpatial(file.choose(),
proj4string=CRS("+proj=longlat"))

Error in readShapeSpatial(file.choose(), proj4string =
CRS("+proj=longlat")) : 

  File type cannot be read

 

Does this mean that the source file isn't a proper shapefile?

 

Kind regards


Kevin Wang

Manager, Government Advisory Services
Advisory

KPMG
10 Shelley Street
Sydney  NSW  2000  Australia

 

Tel 

	+61 2 9335 8282

Fax

	+61 2 9335 7001

Mob

	0419 374 580

kevinwang@kpmg.com.au <mailto:kevinwang@kpmg.com.au> 

 

kpmg.com.au <http://kpmg.com.au> 

 

Protect the environment: please think before you print

 



	[[alternative HTML version deleted]]

