[GRASSLIST:6158] AW: Newbie with SRTM import problem

Marco Lechner marco.lechner at geographie.uni-freiburg.de
Mon Mar 14 11:33:45 EST 2005


Hi Karl,

try to copy the hgt.zip file into /tmp before you import it, may be the
import -script has aproblem with the cygdrive-paths.

Does this work?

Marco

P.S. I always tried it from the /tmp-dir not from any dir outside of the
cygwin-directorytree. May it's a problem with the .tmp folder in your path
to hgt.zip

P.P.S. well, as author of the CygwinGRASS-CD I can tell you, that this
Version is able to import SRTM-files (former versions had a gdal-problem,
;-)

---------------------------------
Marco Lechner

dienstlich:
Institut für Physische Geographie
Uni Freiburg
Werderring 4
79085 Freiburg
Fon 0761 / 203-3548
Mail marco.lechner at geographie.uni-freiburg.de

-----Ursprüngliche Nachricht-----
Von: owner-GRASSLIST at baylor.edu [mailto:owner-GRASSLIST at baylor.edu]Im
Auftrag von Karl Broich
Gesendet: Montag, 14. März 2005 17:09
An: GRASSLIST at baylor.edu
Betreff: [GRASSLIST:6157] Newbie with SRTM import problem


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...
Archive:  /cygdrive/d/Benutzer/b61bro/data/srtm/N35E045.hgt.zip
   inflating: N35E045.hgt
Converting input file to BIL...
A datum name wgs84 (WGS_1984) was specified without transformation
parameters.
Note that the GRASS default for wgs84 is towgs84=0.000,0.000,0.000.
Projection of input dataset and current location appear to match.
Proceeding with import...
Illegal filename.  Cannot be '.' or 'NULL'

  - ** illegal name **
rm: cannot lstat
`/cygdrive/d/Benutzer/b61bro/data/test/b61bro/.tmp/b6pc196/1952.0//cygdrive/
d/Benutzer/b61bro/data/srtm/N35E045.hgt.zip':
No such file or directory
rmdir: `/cygdrive/d/Benutzer/b61bro/data/test/b61bro/.tmp/b6pc196/1952.0':
Device or resource busy
ERROR:  - map not found
Done: generated map
(Note: Holes in the data can be closed with 'r.fillnulls' using splines)

 >

My location is defined in WIND as follows:

<

proj:       3
zone:       0
north:      36N
south:      35N
east:       46E
west:       45E
cols:       1200
rows:       1200
e-w resol:  0:00:03
n-s resol:  0:00:03
top:        1
bottom:     0
cols3:      1
rows3:      1
depths:     1
e-w resol3: 1
n-s resol3: 1
t-b resol:  1

 >

Has anyone an idea what might be wrong ?

Thanks in advance!

Karl



--------------------------------------------------------------------------
Dr.-Ing. Karl BROICH			Tel:	+49 / (0) 89 / 6004 2478
Universität der Bundeswehr München	Fax:	+49 / (0) 89 / 6004 3858
Institut für Wasserwesen
Werner-Heisenberg-Weg 39
D 85577 Neubiberg
--------------------------------------------------------------------------




More information about the grass-user mailing list