Skip to content
Prev 4352 / 29559 Next

map2SpatialPolygons' 'proj4string' in spmaps

On Wed, 15 Oct 2008, Sebastian P. Luque wrote:

            
No, not at all. The coordinates returned by map() if projection= is used 
are only for plotting, are in arbitrary units, and are only documented in 
code. map2SpatialPolygons() assumes that the data are in geographical 
coordinates, and ought perhaps to guess an ellipse and datum based on the 
age of the dataset (world possibly WGS84, US counties probably NAD27), but 
allows the user to set the CRS object directly. The projection= argument 
of map() makes the function call mapproject() with the given projection on 
the data flowing through, I believe.

If you do str() of map(projection=) output, you will see the projection 
name used, but note that the coordinates are arbitrary.

Roger