[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 17:27:56 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:6 hellik]:
 > Replying to [comment:2 hellik]:
 > [...]
 > >
 > > bc can be included in the WinGrass-Installer. i've adapted
 http://trac.osgeo.org/grass/wiki/CompileOnWindows#Pre-builtBinaries with
 bc.
 >
 > bc needs readline, this can also be added

 a quick test after adding bc and readline to the osgeo4w-track with the
 example from the r.in.wms-manual

 {{{
 g.region -p
 projection: 1 (UTM)
 zone:       10
 datum:      nad83
 ellipsoid:  grs80
 north:      1.2
 south:      0
 west:       0
 east:       1.2
 nsres:      1.2
 ewres:      1.2
 rows:       1
 cols:       1
 cells:      1
 }}}

 after starting r.in.wms g.proj.exe is crashing and the following messages:

 {{{
 r.in.wms output=terraserver-drg
 mapserver=http://terraserver.microsoft.com/ogcmap6.ashx layers=DRG region=
 drg-resolution format=jpeg srs=EPSG:26910
 which: wget: unknown command
 which: wget: unknown command
 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:7>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list