[R-sig-Geo] Get projection from shapefile

François Morneau francois.morneau at onf.fr
Fri Jul 26 16:30:30 CEST 2013


Hello Philippe,

You should have a look a the readOGR function in the package rgdal.

François
Le 26/07/2013 15:46, philippe massicotte a écrit :
> Hi everyone.
> I'm using maptools (readShapePoints) to read some shapefiles. However, when I try proj4string(myshp) it returns me NA. I opened the shapefile in QGIS and ArcGIS to ensure there was a projection associated to the file.
> I was wondering if there was a way to retrieve the projection of a shapefile?
> Thank in advance,Phil 		 	   		
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list