[GRASS5] r.out.gdal not working in CVS HEAD
Stephan Holl
holl at gdf-hannover.de
Wed May 11 02:16:13 EDT 2005
Hello John,
On Mon, 9 May 2005 12:30:36 -0400 "John Gillette" <JGillette at 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
>
> (untested)
> REF: tldp.org "Advanced Bash-Scripting Guide", section 4.1, 7.3
> John
Thanks for clearing this up!
Best
Stephan
--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office (TCH) - Vahrenwalder Straße 7 - D-30165 Hannover
Internet: www.gdf-hannover.de - Email: holl at gdf-hannover.de
Phone : ++49-(0)511-9357560 - Fax: ++49-(0)511-9357100
More information about the grass-dev
mailing list