Re: [gdal-dev] Fwd: OSRExportToProj4 losing datum

2012-11-03 Thread Even Rouault
Selon Oliver Soong osoong+g...@gmail.com: The attached raster is in Albers_Conic_Equal_Area on North_American_Datum_1983. This is correctly indicated by the WKT. The PROJ.4 string has no such datum information. This causes problems with rgdal in R, which uses the PROJ.4 string and never

Re: [gdal-dev] Fwd: OSRExportToProj4 losing datum

2012-11-03 Thread Roger Bivand
is not desired, export to Proj4, then remove the environment variable if set? Does this only affect NAD83 - it does seem to be limited to this datum, as WGS84 does not show the same behaviour. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-Fwd-OSRExportToProj4-losing

Re: [gdal-dev] Fwd: OSRExportToProj4 losing datum

2012-11-03 Thread Even Rouault
Selon Roger Bivand roger.biv...@nhh.no: Even, I've opened #4880 on this - it is problematic in the R-spatial setting because the CRS (coordinate reference system) object recorded in each Spatial object uses the PROJ.4 string to represent spatial reference. A user can create a CRS, write out

Re: [gdal-dev] Fwd: OSRExportToProj4 losing datum

2012-11-03 Thread Roger Bivand
On Sat, 3 Nov 2012, Even Rouault wrote: Selon Roger Bivand roger.biv...@nhh.no: Even, I've opened #4880 on this - it is problematic in the R-spatial setting because the CRS (coordinate reference system) object recorded in each Spatial object uses the PROJ.4 string to represent spatial

Re: [gdal-dev] Fwd: OSRExportToProj4 losing datum

2012-11-03 Thread Even Rouault
Selon Roger Bivand roger.biv...@nhh.no: On Sat, 3 Nov 2012, Even Rouault wrote: Selon Roger Bivand roger.biv...@nhh.no: Even, I've opened #4880 on this - it is problematic in the R-spatial setting because the CRS (coordinate reference system) object recorded in each Spatial object

Re: [gdal-dev] Fwd: OSRExportToProj4 losing datum

2012-11-03 Thread Roger Bivand
On Sat, 3 Nov 2012, Even Rouault wrote: Selon Roger Bivand roger.biv...@nhh.no: On Sat, 3 Nov 2012, Even Rouault wrote: Selon Roger Bivand roger.biv...@nhh.no: Even, I've opened #4880 on this - it is problematic in the R-spatial setting because the CRS (coordinate reference system)

[gdal-dev] Fwd: OSRExportToProj4 losing datum

2012-11-02 Thread Oliver Soong
The attached raster is in Albers_Conic_Equal_Area on North_American_Datum_1983. This is correctly indicated by the WKT. The PROJ.4 string has no such datum information. This causes problems with rgdal in R, which uses the PROJ.4 string and never receives the datum information. This seems to be