readOGR not reading in prj file?
On Wed, 6 Apr 2016, Vinh Nguyen wrote:
On Wed, Apr 6, 2016 at 10:42 AM, Edzer Pebesma <edzer.pebesma at uni-muenster.de> wrote:
When I replace the .prj file of an arbitrary shapefile with these contents, it gets read well. Have you tried with current R (3.2.4) and rgdal (1.1.7)?
Thanks Edzer, upgrading rgdal to 1.1.8 works. Consider this issue close.
For completeness, which OS was this, and how was GDAL installed - do you recall what GDAL version was reported when rgdal loaded? If Windows CRAN binary, it is possible that the underlying GDAL version of the spatial reference code and EPSG databases changed - there were no relevant changes in rgdal itself, I think. Roger
-- Vinh
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Roger Bivand Department of Economics, Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 91 00 e-mail: Roger.Bivand at nhh.no http://orcid.org/0000-0003-2392-6140 https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en http://depsy.org/person/434412