Skip to content

Problems with the Spatial Reference of a shapefile created with writePolyShape

6 messages · David Villalobos, Manuel Spínola, Roger Bivand

#
On Wed, 30 Oct 2013, David Villalobos wrote:

            
Never use the shapefile functions in the maptools (or shapefiles) packages 
if you have access to rgdal. In rgdal, writeOGR() for the "ESRI Shapefile" 
driver, the *.prj file is written correctly and will be recognised by 
ArcGIS. The functions in maptools will be withdrawn very soon, this case 
showing that removing them is in everyone's interests. The description of 
maptools will be modified to suit.

Roger