[GRASS-user] R.in.wms on MacOS - bug?

Hamish hamish_b at yahoo.com
Mon Sep 8 03:53:40 EDT 2008


Richard Chirgwin wrote:
> Am in the process of setting up a new user on the latest MacOS build. 
> R.in.wms seems to be stumbling on parsing inputs ...
> 
> First, errors occur which it attributes to cs2cs:
> 
> <cs2cs>:
> projection initialization failure
> cause: no system list, errno: 2
> program abnormally terminated
> (standard_in) 1: illegal character: U
>
> Then, r.tileset gets into trouble:
> 
> Applications/GRASS-6.3.app/Contents/MacOS/scripts/r.tileset:
> line 201: 
> =${0[p_source_proj_p]}: bad substitution

[... projection not set errors]

> Can anyone point me to the problem?


Can you rerun r.in.wms with 'tileoptions="v=3"' ?

this will display some debug messages showing what cs2cs line r.tileset
is trying to use. Alternatively you could change the first line of
r.tileset from '#!/bin/bash' to '#!/bin/bash -x' to get a big dump of
debug info.


What is the r.in.wms command line you used? (server isn't really important)
what did you give for r.in.wms srs= ?

How about 'g.proj -j' and 'g.proj -p' ?
r.in.wms calls wms.request which sorts out the projection stuff and calls
r.tileset.


Hamish



      



More information about the grass-user mailing list