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

2012-11-03 Thread Roger Bivand
On Sat, 3 Nov 2012, Even Rouault wrote: Selon Roger Bivand : On Sat, 3 Nov 2012, Even Rouault wrote: Selon Roger Bivand : 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

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

2012-11-03 Thread Even Rouault
Selon Roger Bivand : > On Sat, 3 Nov 2012, Even Rouault wrote: > > > Selon Roger Bivand : > > > >> 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 s

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

2012-11-03 Thread Roger Bivand
On Sat, 3 Nov 2012, Even Rouault wrote: Selon Roger Bivand : 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 crea

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

2012-11-03 Thread Even Rouault
Selon Roger Bivand : > 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 a raster (whi

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

2012-11-03 Thread Roger Bivand
AL behaviour 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-OSRExpor

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

2012-11-03 Thread Even Rouault
Selon 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

[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 l