[GRASS-dev] Re: [GRASS GIS] #1189: wingrass: 'g.region -l' fails when using a NTv2 grid file

GRASS GIS trac at osgeo.org
Tue Sep 20 07:18:26 EDT 2011


#1189: wingrass: 'g.region -l' fails when using a NTv2 grid file
--------------------------------------+-------------------------------------
 Reporter:  hamish                    |       Owner:  grass-dev@…              
     Type:  defect                    |      Status:  new                      
 Priority:  critical                  |   Milestone:  6.4.2                    
Component:  Packaging                 |     Version:  svn-develbranch6         
 Keywords:  wingrass, g.region, NTv2  |    Platform:  MSWindows XP             
      Cpu:  x86-32                    |  
--------------------------------------+-------------------------------------

Comment(by hamish):

 running with `export PROJ_DEBUG=5` on the msys rxvt terminal line with
 proj_def.dat copied into $GISBASE/etc/nad/ now shows:
 {{{
 GRASS 6.4> g.region.exe -l
 WARNING: pj_transform() failed: failed to load datum shift file
 ERROR: Error in pj_do_proj (projection of input coordinate pair)
 pj_open_lib(proj_def.dat): call fopen(c:/Program Files/GRASS
 6.4.SVN/etc/nad/proj_def.dat) - succeeded

 pj_open_lib(c:/Program Files/GRASS 6.4.SVN/etc/nad/conus): call
 fopen(c:/Program Files/GRASS 6.4.SVN/etc/nad/conus) - succeeded

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

 pj_open_lib(c:/Program Files/GRASS 6.4.SVN/etc/nad/conus): call
 fopen(c:/Program Files/GRASS 6.4.SVN/etc/nad/conus) - succeeded

 pj_apply_gridshift(): used Conterminous United States
 pj_open_lib(c:/Program): call fopen(c:/Program) - failed
 }}}

 I can confirm that this breaks not just with the `conus` grid file, but
 with any grid file.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1189#comment:13>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list