[GRASS-user] /usr/lib/grass/scripts/r.in.wms: line 439: /usr/lib/grass/etc/r.in.wms/r.in.gdalwarp: Argument list too long

Paulo 'Pmarc' Marcondes pmarc.debian at gmail.com
Tue May 26 18:49:11 EDT 2009


Hi All,

I was starting a project that needed a lot of srtms.

So I though: Let's use the WMS!

there I went, set region:

GRASS 6.2.3 (prominence):~/gis > g.region -p
projection: 3 (Latitude-Longitude)
zone:       0
datum:      wgs84
ellipsoid:  wgs84
north:      13N
south:      56S
west:       82W
east:       34W
nsres:      0:00:03
ewres:      0:00:03
rows:       82800
cols:       57600
cells:      4769280000

then get the files:
GRASS 6.2.3 (prominence):~/gis > r.in.wms output=srtm.jpl
mapserver=http://wms.jpl.nasa.gov/wms.cgi layers=huemapped_srtm

so, 4673 GTIFF files later, I got this error:
/usr/lib/grass/scripts/r.in.wms: line 439:
/usr/lib/grass/etc/r.in.wms/r.in.gdalwarp: Argument list too long

now the qiestions:
1. what happened?
2. how to overcome this?

I have thought to manually join all 4673 files, but then there has to
be a (much) better way. I am open to suggestions.
-- 
Paulo Marcondes = PU1/PU2PIX
-22.915 -43.224 = GG87jc <= Corrected !
-23.578 -46.671 = GG66pk


More information about the grass-user mailing list