> Dear developers,
>
> Last changes between 1.14 and 1.15 in CVS HEAD prevent r.out.gdal
> from working (with my maschine).
>
> When I revert the changes everything works well. The quoting seems
> to be messed up a bit.
>
> Cheers
> Stephan
>
On Mon, 9 May 2005 12:30:36 -0400
"John Gillette" <JGillette@rfmd.com> wrote:
I suggest try changing from:
WKT=`g.proj -wf`
if [ -n $WKT ] ; then
PROJECTION="-a_srs '${WKT}'"
fi
to:
WKT=`g.proj -wf`
if [ -n "$WKT" ] ; then
PROJECTION="-a_srs ${WKT}"
fi
If that doesn't work, try this:
WKT=`g.proj -wf`
if [ -n "$WKT" ] ; then
PROJECTION="-a_srs \"${WKT}\""
fi
I commited the quoting fix on the -n line to CVS, but not the one on the
PROJECTION line. I think "-a_srs '${WKT}'" should infact expand $WKT;
while '-a_srs "${WKT}"' would not. Could you test?
Last changes between 1.14 and 1.15 in CVS HEAD prevent r.out.gdal
from working (with my maschine).
When I revert the changes everything works well. The quoting seems
to be messed up a bit.
Cheers
Stephan
On Mon, 9 May 2005 12:30:36 -0400
"John Gillette" <JGillette@rfmd.com> wrote:
I suggest try changing from:
WKT=`g.proj -wf`
if [ -n $WKT ] ; then
PROJECTION="-a_srs '${WKT}'"
fi
to:
WKT=`g.proj -wf`
if [ -n "$WKT" ] ; then
PROJECTION="-a_srs ${WKT}"
fi
If that doesn't work, try this:
WKT=`g.proj -wf`
if [ -n "$WKT" ] ; then
PROJECTION="-a_srs \"${WKT}\""
fi
I commited the quoting fix on the -n line to CVS, but not the one on the
PROJECTION line. I think "-a_srs '${WKT}'" should infact expand $WKT;
while '-a_srs "${WKT}"' would not. Could you test?
For the record I agree with all that (I think it was my fix that broke it), and the escaped double quotes was what I was going to change it to too last night before I got called away to something else.