[GRASS-dev] Re: [GRASS GIS] #820: r.in.wms doesn't work in WinGRASS installer distribution

GRASS GIS trac at osgeo.org
Fri Nov 20 18:46:07 EST 2009


#820: r.in.wms doesn't work in WinGRASS installer distribution
---------------------------+------------------------------------------------
  Reporter:  ddalimonte    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Packaging     |     Version:  svn-releasebranch64      
Resolution:                |    Keywords:  r.in.wms                 
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------
Comment (by hellik):

 Replying to [comment:10 hellik]:

 > >  * No, it really does need to be #!/bin/bash. Variable arrays[n] are
 not present in plain old sh, and if you try without bash you get errors
 like you see in the previous post.
 >
 > ah ok. what's about bash in msys, is beyond my knowledge at the moment
 >

 in http://sourceforge.net/projects/mingw/files/ there is bash for msys.
 i've changed back to #!/bin/bash in r.tileset-script, bash seems to be
 recognized because there's no message like "r.tileset: No such file or
 directory".

 But at all there is again:

 {{{
 r.in.wms layers=global_mosaic mapserver=http://wms.jpl.nasa.gov/wms.cgi
 output=wms_global_mosaic
 which: wget: unknown command
 c:/OSGeo4W/apps/grass/grass-6.4.0svn/scripts/r.in.wms: eval:
 line 1: unexpected EOF while looking for matching `''
 c:/OSGeo4W/apps/grass/grass-6.4.0svn/scripts/r.in.wms: eval:
 line 2: syntax error: unexpected end of file
 which: wget: unknown command
 Calculating tiles
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [...]
 (standard_in) 2: parse error
 Rel. 4.7.1, 23 September 2009
 <cs2cs.exe>:
 projection initialization failure
 cause: Unknown error
 program abnormally terminated
 ERROR: Problem running cs2cs. <Using from definition: >
 ERROR: r.tileset failure
 ERROR: wms.request failure
 }}}

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


More information about the grass-dev mailing list