[Proj] problems with m.proj (grass)

Hamish hamish_b at yahoo.com
Tue Aug 3 21:23:42 PDT 2010


Hamish:
> > Yes, that's what it started out as, but cs2cs was fixed with Glynn's
> > suggestion:
> > 
> > replacing:
> >    IN_PROJ=`g.proj -j`
> > 
> > with:
> >    IN_PROJ=`g.proj -j | (
> >        IN_PROJ=
> >        while read line ; do
> >            IN_PROJ="$IN_PROJ '$line'"
> >        done
> >        echo "$IN_PROJ"
> >    )`

Massimo wrote:
> input parameters=[+proj=longlat +datum=WGS84]
> output parameters=[ '+proj=utm' '+zone=13' '+a=6378206.4' '+rf=294.9786982' '+no_defs' '+nadgrids=/usr/local/src/gis/local/grass-6.5.svn/etc/nad/conus' '+to_meter=1.0']
> Rel. 4.7.1, 23 September 2009
> <cs2cs>:
> Sys errno: 2: <system mess. texts unavail.>
> '+proj=utm'
> Rel. 4.7.1, 23 September 2009
> <cs2cs>:
> Sys errno: 2: <system mess. texts unavail.>
> '+zone=13'
...

erm, maybe it's not fixed after all.


Massimo, until we've got this sorted out you'll have to use the version
from the 6.4 stable branch.

the $OUT_PROJ variable is passed to cs2cs unquoted, so I wouldn't have
expected to need to use `eval` there, but will have to do some more
testing to verify that. [continued on the grass-dev mailing list....]



Hamish



      



More information about the Proj mailing list