[GRASS-user] r.out.gdal problem of grass6.3 in windows xp
maven apache
apachemaven0 at gmail.com
Tue Jun 16 01:19:54 EDT 2009
Thanks£¬it works now£¡~
2009/6/16 Glynn Clements <glynn at gclements.plus.com>
>
> maven apache wrote:
>
> > I have consider the space problem,and I try to avoid it:
> >
> > String filePath=file.getAbsolutePath(); // F:\anzhuang\Tomcat
> 5.5\....tif
> > String creatLocation=System.currentTimeMillis()+"location";
> > filePath=filePath.replace("\\", "\\\\"); //no matter I add this line or
> not the filepath is splitted ever
> > String cmd="g.proj -c georef="+filePath+" location="+creatLocation+"
> datumtrans=0";
>
> You aren't quoting the path. Try:
>
> String cmd="g.proj -c \"georef="+filePath+"\" location="+creatLocation+"
> datumtrans=0";
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090616/4b38e05e/attachment-0001.html
More information about the grass-user
mailing list