[PROJ] 'proj -V' fails (proj 7.1.0)

Kristian Evers kristianevers at gmail.com
Mon Oct 3 09:33:35 PDT 2022


Tom,

You didn’t initialise a projection. Try for instance using the Mercator projection:

$ proj -V +proj=merc
#Mercator
#       Cyl, Sph&Ell
#       lat_ts=
# +proj=merc +break_cs2cs_recursion +ellps=GRS80
#Final Earth figure: ellipsoid
#  Major axis (a): 6378137.000
#  1/flattening: 298.257222
#  squared eccentricity: 0.006694380023
12 56
Longitude: 12dE [ 12 ]
Latitude:  56dN [ 56 ]
Easting (x):   1335833.89
Northing (y):  7522963.24
Meridian scale (h) : 1.78417288  ( 78.42 % error )
Parallel scale (k) : 1.78417288  ( 78.42 % error )
Areal scale (s):     3.18327287  ( 218.3 % error )
Angular distortion (w): 0.000
Meridian/Parallel angle: 90.00000
Convergence : 0d [ -0.00000000 ]
Max-min (Tissot axis a-b) scale error: 1.78417 1.78417

The “12 56” is my user input.

Any call to the proj utility requires that you set up a projection. See more in the manual: https://proj.org/usage/index.html <https://proj.org/usage/index.html>

/Kristian

> On 3 Oct 2022, at 18.11, Tom O'Reilly <oreilly at mbari.org> wrote:
> 
> I'm sure I'm making a very basic error, but what?
> 
> I've downloaded and built PROJ-7.1.0, on ubuntu 20.04.
> 
> In <MY_PROJ>/proj /build/bin directory, running 'proj -V' gives this error:
> $ ./proj -V
> Rel. 7.1.0, August 1st, 2020
> <proj>: 
> projection initialization failure
> cause: no arguments in initialization list
> program abnormally terminated
> 
> Based on other posts, I set PROJ_LIB to the directory where proj.db resides:
> 
> export PROJ_LIB=<MY_PROJ>/PROJ-7.1.0/build/data
> 
> But 'proj -V' gives the same error.
> Anyone know what I am doing wrong?
> Thanks!
> 
> --------------------------------------------------
> Thomas C. O'Reilly
> Monterey Bay Aquarium Research Institute
> 7700 Sandholdt Road
> Moss Landing, California 95039-9644
> 831-775-1766 (voice)
> 831-775-1620 (FAX)
> oreilly at mbari.org (email)
> http://www.mbari.org (World-wide Web)
>  
> "The machine does not isolate us from the great mysteries
>  of nature, but plunges us more deeply into them."
>  
>    - ANTOINE DE SAINT-EXUPERY
>      "Wind, Sand, and Stars" (1939)
>  
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20221003/d02f2540/attachment.htm>


More information about the PROJ mailing list