[GRASSLIST:6169] Re: Newbie with SRTM import problem
Hamish
hamish_nospam at yahoo.com
Mon Mar 14 21:21:48 EST 2005
On Mon, 14 Mar 2005 17:09:01 +0100
Karl Broich <b61bro at b6axs1.bauv.unibw-muenchen.de> wrote:
> Hello GRASS-list member,
>
> I downloaded and installed GRASS 6.0 for Cygwin (Version 0.2.2) on Windows
> 2000.
>
> After trying to import a SRTM-tile I got the following messages from
> r.in.srtm :
>
> <
>
> r.in.srtm input=/cygdrive/d/Benutzer/b61bro/data/srtm/N35E065.hgt.zip
> [: ==: unknown operand
> Extracting /cygdrive/d/Benutzer/b61bro/data/srtm/N35E045...
can you edit the script* and change this line:
if [ "$GIS_OPT_output" == "" ] ; then
to
if [ -z "$GIS_OPT_output" ] ; then
and see if that fixes it? please let us know if it does.
[*] find with "which r.in.srtm". not sure if this works on cygwin?
using bash as your shell?
Hamish
More information about the grass-user
mailing list