[OSRS-PROJ] Proj.exe configuration or installation

Paul Selormey paul at toolscenter.org
Thu Jul 4 01:21:24 PDT 2002


Hello Glynn,
Thanks for the response.
Your suggestion works. However, why does the commandline in the proj4
commandline
manual works for my own compillation, which does not specify the ellipsoid?

----------------------------------------------------------------------------
---------------------
K:\Download\GIS\lib\Projection\Projection\Output>proj +proj=utm
+lon_0=112w -r
45d15'33.1" 111.5W
460770.43       5011865.86
----------------------------------------------------------------------------
---------------------

They both give the same results too :-(

Best regards,
Paul.

----- Original Message -----
From: "Glynn Clements" <glynn.clements at virgin.net>
To: <osrs-proj at remotesensing.org>
Sent: Thursday, July 04, 2002 3:53 PM
Subject: Re: [OSRS-PROJ] Proj.exe configuration or installation


>
> Paul Selormey wrote:
>
> > In fact, I have never used the proj.exe (only the dll). I have just
started
> > playing with it and having problems on Windows (2000)
> > My own compillation using the VC++IDE works, but with the compillation
> > using the accompanied makefile, commands like
> >
> > proj -lp
> > proj -le
> >
> > works. But projections like in the proj4 faq fails, ie
> >
> > proj +proj=utm +lon_0=112w -r
> >
> > The console screen output looks like this...
> > -------------------------------------------------------------
> >
> > K:\Download\GIS\lib\Projection\proj-4.4.5>proj +proj=utm +lon_0=112w -r
> > Rel. 4.4.5, 9 January 2002
> > <proj>:
> > projection initialization failure
> > cause: major axis or radius = 0 or not given
> > program abnormally terminated
> >
> > -------------------------------------------------------------
> >
> > This commandline, however, works with my own compillation. What am I
> > missing here?
>
> You need to specify an ellipsoid, e.g.
>
> proj +proj=utm +lon_0=112w +ellps=WGS84 -r
>
> For some reason, UTM refuses to work with "+ellps=sphere".
>
> --
> Glynn Clements <glynn.clements at virgin.net>
> ----------------------------------------
> PROJ.4 Discussion List
> See http://www.remotesensing.org/proj for subscription, unsubscription
> and other information.
>

----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.



More information about the Proj mailing list