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

GRASS GIS trac at osgeo.org
Sat Nov 21 05:20:30 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:13 neteler]:
 > Replying to [comment:12 hellik]:
 > > Replying to [comment:10 hellik]:
 > > > Replying to [comment:8 hamish]:
 > > > >  * wget can be replaced by curl if it is installed; there's a
 flag. But really we/msys should ship a copy of wget in our windows
 package. (fwiw Mac ships curl not wget)
 >
 > Why should we then ship wget if osgeo4w already ships curl?
 >
 > > wget can be download as pre-built-binary from the gnuwin32-website and
 integrated in the windows-package
 >
 > Since curl is there is looks more reasonable to get that used at this
 point. Apparently the test fails:
 > {{{
 > # check if we have wget or curl
 > if [ ! -x "`which wget`" ] ; then
 >     if [ ! -x "`which curl`" ] ; then
 >         g.message -e "Either 'wget' or 'curl' is required, please
 install one first"
 >         exit 1
 >     else
 >         g.message -v "Using CURL for downloading data."
 >         USE_CURL=1
 >     fi
 > else
 >     g.message -v "Using WGET for downloading data."
 >     USE_WGET=1
 > fi
 > }}}
 >
 > Perhaps the which magic is non-functional with Msys?
 >
 > Helmut: could you take out the test in the script and just set
 > {{{
 > USE_CURL=1
 > }}}
 >
 > to see what happens then?
 >
 > Markus


 i've unset the curl/wget-check and set USE_CURL=1. bash, bc is in the
 osgeo4w/msys-stack:

 again the same error:

 {{{
 r.in.wms output=elevation_meters mapserver=http://wms.jpl.nasa.gov/wms.cgi
 layers=us_ned styles=real -o
 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
 Calculating tiles
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [0]=SOURCE_PROJ: command not found
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [1]=1: command not found
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [2]=DEST_PROJ: command not found
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [3]=SOURCE_TO_DEST: command not found
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [0]=DEST_PROJ: command not found
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [1]=SOURCE_PROJ: command not found
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [2]=1: command not found
 c:/osgeo4w/apps/grass/grass-6.4.0svn/scripts/r.tileset:
 [3]=DEST_TO_SOURCE: command not found
 (standard_in) 2: parse error
 (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:14>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list