<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Tom,<div class=""><br class=""></div><div class="">You didn’t initialise a projection. Try for instance using the Mercator projection:</div><div class=""><br class=""></div><div class=""><div class="">$ proj -V +proj=merc</div><div class="">#Mercator</div><div class="">#       Cyl, Sph&Ell</div><div class="">#       lat_ts=</div><div class=""># +proj=merc +break_cs2cs_recursion +ellps=GRS80</div><div class="">#Final Earth figure: ellipsoid</div><div class="">#  Major axis (a): 6378137.000</div><div class="">#  1/flattening: 298.257222</div><div class="">#  squared eccentricity: 0.006694380023</div><div class="">12 56</div><div class="">Longitude: 12dE [ 12 ]</div><div class="">Latitude:  56dN [ 56 ]</div><div class="">Easting (x):   1335833.89</div><div class="">Northing (y):  7522963.24</div><div class="">Meridian scale (h) : 1.78417288  ( 78.42 % error )</div><div class="">Parallel scale (k) : 1.78417288  ( 78.42 % error )</div><div class="">Areal scale (s):     3.18327287  ( 218.3 % error )</div><div class="">Angular distortion (w): 0.000</div><div class="">Meridian/Parallel angle: 90.00000</div><div class="">Convergence : 0d [ -0.00000000 ]</div><div class="">Max-min (Tissot axis a-b) scale error: 1.78417 1.78417</div><div class=""><br class=""></div><div class="">The “12 56” is my user input.</div><div class=""><br class=""></div><div class="">Any call to the proj utility requires that you set up a projection. See more in the manual: <a href="https://proj.org/usage/index.html" class="">https://proj.org/usage/index.html</a></div><div class=""><br class=""></div><div class="">/Kristian</div><div><br class=""><blockquote type="cite" class=""><div class="">On 3 Oct 2022, at 18.11, Tom O'Reilly <<a href="mailto:oreilly@mbari.org" class="">oreilly@mbari.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div id="zimbraEditorContainer" style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class="146"><div class="">I'm sure I'm making a very basic error, but what?</div><div class=""><br data-mce-bogus="1" class=""></div><div class="">I've downloaded and built PROJ-7.1.0, on<span style="font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; float: none; display: inline !important;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" class=""> ubuntu 20.04.</span><div style="clear: both;" data-mce-style="clear: both;" class=""><br data-mce-bogus="1" class=""></div></div><div class=""><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; float: none; display: inline !important;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" class="">In <MY_PROJ>/proj /build/bin directory, running 'proj -V' gives this error:</span></div><div class=""><span style="orphans: 2; text-align: start; text-indent: 0px; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" class=""><div style="" class="">$ ./proj -V</div><div style="" class="">Rel. 7.1.0, August 1st, 2020</div><div style="" class=""><proj>: </div><div style="" class="">projection initialization failure</div><div style="" class="">cause: no arguments in initialization list</div><div style="" class="">program abnormally terminated</div></span></div><div class=""><br class=""></div><div class="">Based on other posts, I set PROJ_LIB to the directory where proj.db resides:</div><div class=""><br data-mce-bogus="1" class=""></div><div class="">export PROJ_LIB=<MY_PROJ>/PROJ-7.1.0/build/data</div><div class=""><span style="font-size: 12pt;" class=""><br data-mce-bogus="1" class=""></span></div><div class=""><span style="font-size: 12pt;" class="">But 'proj -V' gives the same error.</span></div><div class=""><span style="font-size: 12pt;" class="">Anyone know what I am doing wrong?</span></div><div class=""><span style="font-size: 12pt;" class="">Thanks!</span></div><div class=""><span style="font-size: 12pt;" class=""><br data-mce-bogus="1" class=""></span></div><div class=""><span style="font-size: 12pt;" class="">--------------------------------------------------</span><br class=""></div><div data-marker="__SIG_PRE__" class="">Thomas C. O'Reilly<br class="">Monterey Bay Aquarium Research Institute<br class="">7700 Sandholdt Road<br class="">Moss Landing, California 95039-9644<br class="">831-775-1766 (voice)<br class="">831-775-1620 (FAX)<br class=""><a href="mailto:oreilly@mbari.org" class="">oreilly@mbari.org</a> (email)<br class=""><a href="http://www.mbari.org" class="">http://www.mbari.org</a> (World-wide Web)<br class=""> <br class="">"The machine does not isolate us from the great mysteries<br class=""> of nature, but plunges us more deeply into them."<br class=""> <br class="">   - ANTOINE DE SAINT-EXUPERY<br class="">     "Wind, Sand, and Stars" (1939)<br class=""> </div></div></div>_______________________________________________<br class="">PROJ mailing list<br class=""><a href="mailto:PROJ@lists.osgeo.org" class="">PROJ@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/proj<br class=""></div></blockquote></div><br class=""></div></body></html>