[GRASS-dev] 6.4.0 blocker bugs
Glynn Clements
glynn at gclements.plus.com
Thu Jul 29 07:02:39 EDT 2010
Hamish wrote:
> next problem: r.in.wms calls wms.request which calls r.tileset.
> r.tileset calls cs2cs*, with +proj4 terms taken from SRS=`g.proj -j`.
>
> for spearfish those terms include the conus grid file, which is in
> $GISBASE/etc/nad/ ... and $GISBASE of course contains a space, and
> then cs2cs dies a horrible death.
>
> so how to quote the right side of the individual +nadgrids= line? and
> will cs2cs accept that?
You need to construct the cs2cs command line "the hard way"; simply
inserting the "g.proj -j" output won't work.
Something like:
opts=`g.proj -j | (
opts=
while read line ; do
opts="$opts '$line'"
done
echo "$opts"
)`
BTW: the Python versions of m.proj and r.in.aster will have problems
with this, as they use "g.proj -jf ...".
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list