read_shape(file, current.projection = NULL, ...)
PROJ.4
character string (see http://trac.osgeo.org/proj/), of one of the following shortcuts:
"longlat"
"wintri"
"robin"
"eck4"
"hd"
"gall"
"merc"
"utmXX(s)"
01
covers -180 to -174 degrees (West) and zone 60
174 to 180 east. Replace XX in the character string with the zone number. For southern hemisphere, add "s"
. So, for instance, the Netherlands is "utm31"
and New Zealand is "utm59s"
"mill"
"eqc0"
"eqc30"
"eqc45"
"rd"
See http://en.wikipedia.org/wiki/List_of_map_projections for a overview of projections.
Use set_projection
to reproject the shape object.
stringsAsFactors
, are passed on to readOGR
readOGR
. It is possible to set the current projection, if it is undefined in the shape file. If a reprojection is required, use set_projection
.For the Netherlands: often, the Dutch Rijksdriehoekstelsel (Dutch National Grid) projection is provided in the shape file without proper datum shift parameters to wgs84. This functions automatically adds these parameters. See http://www.qgis.nl/2011/12/05/epsg28992-of-rijksdriehoekstelsel-verschuiving/ (in Dutch) for details.