[R-sig-Geo] readOGR not reading in prj file?

Edzer Pebesma edzer.pebesma at uni-muenster.de
Wed Apr 6 19:42:06 CEST 2016



On 06/04/16 19:33, Vinh Nguyen wrote:
> 
> On Apr 6, 2016 10:27 AM, "Edzer Pebesma" <edzer.pebesma at uni-muenster.de
> <mailto:edzer.pebesma at uni-muenster.de>> wrote:
>>
>> What are the contents of the 2013Spring_Flood_Drawn.prj file?
>>
> 
> Here's the content of the prj file:
> PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]
> 
> Thanks so much for your help.
> 

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)?
-- 
Edzer Pebesma
Institute for Geoinformatics  (ifgi),  University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software:   http://www.jstatsoft.org/
Computers & Geosciences:   http://elsevier.com/locate/cageo/
Spatial Statistics Society http://www.spatialstatistics.info

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20160406/8c354da4/attachment.bin>


More information about the R-sig-Geo mailing list