[Proj] cs2cs how to use

davidvaz davidvaz at ncc.up.pt
Wed Feb 15 11:06:07 PST 2006


It's me again!

Frank Warmerdam wrote:

> As Cliff mentions, the above does not include information on the datum
> shift to be applied between WGS84 and "datum 73".  I believe the
> following
> commandline would use the above parameters and Cliff's suggested datum
> shift.
>
> cs2cs +proj=wgs84 +datum=WGS84 +to \
>       +proj=tmerc +k=1 +lon_0=-8.131906111111112 +lat_0=39d40 \
>                     +x_0=180.598 +y_0=-86.66 \
>                     +ellps=intl +towgs84=223.116,-106.825,-36.87


I tried this commandline but all I've got was an error:

        Using from definition: proj=wgs84 datum=WGS84
        Rel. 4.4.9, 29 Oct 2004
        <lt-cs2cs>:
        projection initialization failure
        cause: unknown projection id
        program abnormally terminated

Do you know what might be the problem?

Thanks for the help.

David Vaz



More information about the Proj mailing list