[Osgeo4w-trac] Re: [osgeo4w] #288: GDAL - Datum shift issue (WGS84, NAD27, NAD83)

OSGeo4W trac_osgeo4w at osgeo.org
Fri Apr 27 12:50:28 EDT 2012


#288: GDAL - Datum shift issue (WGS84, NAD27, NAD83)
-------------------------+--------------------------------------------------
Reporter:  tcgeophysics  |       Owner:  osgeo4w-dev@…               
    Type:  defect        |      Status:  new                         
Priority:  major         |   Component:  Package                     
 Version:                |    Keywords:  Datum shift grids NAD27 proj
-------------------------+--------------------------------------------------

Comment(by warmerdam):

 Hmm, I'm not at all sure where the "No such file or directory" is coming
 from.  I've tried a somewhat similar command here and it works ok, but
 this was not on windows:

 {{{
 warmerdam at gdal:~$ gdalwarp -t_srs EPSG:26716 -of ERS utm.tif out.ers
 Creating output file that is 644P x 644L.
 Processing input file utm.tif.
 0...10...20...30...40...50...60...70...80...90...100 - done.
 }}}

 If you set the environment variable PROJ_DEBUG to a value like "4" you
 should be able to see info in the console when PROJ.4 uses the grid shift
 files.

 ie.
 {{{
 C:\> SET PROJ_DEBUG=4
 C:\> gdalwarp ...
 }}}

 I see:

 {{{
 pj_open_lib(proj_def.dat): call
 fopen(/home/warmerdam/local/bld/share/proj/proj_def.dat) - succeeded

 pj_open_lib(conus): call fopen(/home/warmerdam/local/bld/share/proj/conus)
 - succeeded

 Ctable2 Conterminous United States 273x121: LL=(-131,20) UR=(-63,50)

 pj_open_lib(alaska): call
 fopen(/home/warmerdam/local/bld/share/proj/alaska) - succeeded

 Ctable2 Alaska 529x249: LL=(-194,46) UR=(-128,77)

 pj_open_lib(ntv2_0.gsb): call
 fopen(/home/warmerdam/local/bld/share/proj/ntv2_0.gsb) - failed

 pj_open_lib(ntv1_can.dat): call
 fopen(/home/warmerdam/local/bld/share/proj/ntv1_can.dat) - succeeded

 NTv1 393x177: LL=(-142,40) UR=(-44,84)
 pj_open_lib(conus): call fopen(/home/warmerdam/local/bld/share/proj/conus)
 - succeeded

 pj_apply_gridshift(): used Conterminous United States
 pj_apply_gridshift(): used Conterminous United States
 ...
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/288#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list