[OSRS-PROJ] Error when forward projection with a polar stereographic
projecti on.. Please help.
Frank Warmerdam
warmerdam at pobox.com
Fri Dec 6 11:02:12 EST 2002
Ray Bryan E 2Lt 314 OSS/OSW wrote:
> I have tried a forward projection with a stereographic projection with no luck.
>
> Are there any suggestions?
>
> Here is what I entered in the command prompt.
>
> proj +proj=stere +lat_ts=30d00N +lat_0=90 +lon_0=90d00W +k_0=1 +x_0=200 +y_0=200
>
> Here is the error I'm getting...
>
> projection initialization failure
> cause: major axis or radius = 0 or not given
> program abnormally terminated
>
> Here is what I found on the remotesensing.org website for a stereographic projection.
> +proj=stere +lat_ts=/Latitude at natural origin/
> +lat_0=90
> +lon_0=/Longitude at natural origin/
> +k_0=/Scale factor at natural origin/ (normally 1.0)
> +x_0=/False Easting/
> +y_0=/False Northing/
>
> I'm trying to do a forward projection with a polar stereographic projection.
Bryan,
You also need an ellipse definition. This requirement is "assumed" in much
of the documentation.
Try:
proj +proj=stere +lat_ts=30d00N +lat_0=90 +lon_0=90d00W +k_0=1 +x_0=200 +y_0=200 +ellps=WGS84
By the way, those are pretty odd x_0 and y_0 values. Is the value
easting and northing really 200 meters?
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 | Geospatial Programmer for Rent
----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.
More information about the Proj
mailing list