[Proj] cs2cs with WGS72

Frank Warmerdam warmerdam at pobox.com
Wed Sep 6 15:52:33 EDT 2006


Naiara Pinto wrote:
> Hi all,
> 
> I am trying to use cs2cs to go from Lambert Azimuthal Equal Area to
> Lat Long. I get a problem when I try to use the WGS72 datum:
>> cs2cs +proj=laea +ellps=sphere +lat_0=45 +lon_0=-100 +x_0 =0 +y_0=0
> +to +proj=latlong +datum=WGS72 -r <<EOF
>> 0 0
>> EOF
> Using to definition: proj=latlong datum=WGS72
> Rel. 4.4.9, 29 Oct 2004
> <cs2cs>:
> projection initialization failure
> cause: unknown elliptical parameter name
> program abnormally terminated
> 
> This works fine with WGS84 and NAD83. Does anyone have any ideas why
> this happens?

Naiara,

There is no PROJ.4 recognise datum called WGS72 (use cs2cs -ld to see
show short list of built in datum names).  Instead you can just use the
WGS72 ellipsoid with no other datum modifiers.

eg.

+proj=latlong +ellps=WGS72

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the Proj mailing list