<html><body><div id="zimbraEditorContainer" style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000" class="4"><div><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">How exactly is $PROJ_LIB intended to alter the PJ_INFO.searchpath? It appears to behave differently between PROJ-7.1.0 and PROJ-8.1.0:</span></p><ul style="margin-top: 0; margin-bottom: 0; padding-inline-start: 48px;" data-mce-style="margin-top: 0; margin-bottom: 0; padding-inline-start: 48px;"><li dir="ltr" style="list-style-type: disc; font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre;" aria-level="1" data-mce-style="list-style-type: disc; font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre;"><p dir="ltr" style="line-height: 1.2; margin: 0px;" role="presentation" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">PROJ-7.1.0 </span><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: underline; -webkit-text-decoration-skip: none; text-decoration-skip-ink: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: underline; -webkit-text-decoration-skip: none; text-decoration-skip-ink: none; vertical-align: baseline; white-space: pre-wrap;">replaces</span><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> the last element of PJ_INFO.searchpath with $PROJ_LIB</span></p></li><li dir="ltr" style="list-style-type: disc; font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre;" aria-level="1" data-mce-style="list-style-type: disc; font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre;"><p dir="ltr" style="line-height: 1.2; margin: 0px;" role="presentation" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">PROJ-8.1.0 does not add the contents of $PROJ_LIB environment variable to PJ_INFO.searchpath. </span></p></li></ul><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br data-mce-bogus="1"></span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">(These are the only two PROJ versions I've tested so far)</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">I determined this behavior from this simple program:</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br data-mce-bogus="1"></span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#include <iostream></span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#include <proj.h></span></p><b style="font-weight: normal;" data-mce-style="font-weight: normal;"><br></b><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">int main(int argc, char **argv) {</span></p><b style="font-weight: normal;" data-mce-style="font-weight: normal;"><br></b><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> PJ_INFO projInfo = proj_info();</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> std::cerr << "proj searchpath: " << projInfo.searchpath << std::endl; </span></p><b style="font-weight: normal;" data-mce-style="font-weight: normal;"><br></b><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 9.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> return 0;</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></p><b style="font-weight: normal;" data-mce-style="font-weight: normal;"><br></b><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 11.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">PROJ-7.1.0, PROJ_LIB not set:</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">proj searchpath: /home/oreilly/.local/share/proj:/usr/local/share/proj</span></p><b style="font-weight: normal;" data-mce-style="font-weight: normal;"><br></b><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">PROJ-7.1.0, PROJ_LIB=/tmp/mystuff:</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">proj searchpath: /home/oreilly/.local/share/proj:/tmp/mystuff</span></p><b style="font-weight: normal;" data-mce-style="font-weight: normal;"><br></b><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">PROJ-8.1.0, PROJ_LIB not set:</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">proj searchpath: /home/oreilly/.local/share/proj</span></p><b style="font-weight: normal;" data-mce-style="font-weight: normal;"><br></b><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">PROJ-8.1.0, PROJ_LIB=/tmp/mystuff:</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: "Courier New"; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #000000; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">proj searchpath: /home/oreilly/.local/share/proj</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br data-mce-bogus="1"></span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Are there bugs in how PROJ_LIB is handled? What is the intended effect of PROJ_LIB on searchpath?</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br data-mce-bogus="1"></span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Thanks,</span></p><p dir="ltr" style="line-height: 1.2; margin: 0px;" data-mce-style="line-height: 1.2; margin: 0px;"><span style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;" data-mce-style="font-size: 10.5pt; font-family: 'Courier New'; color: #222222; background-color: #ffffff; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Tom</span></p></div><div><br></div><div data-marker="__SIG_PRE__"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">--------------------------------------------------</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">Thomas C. O'Reilly</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">Monterey Bay Aquarium Research Institute</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">7700 Sandholdt Road</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">Moss Landing, California 95039-9644</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">831-775-1766 (voice)</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">831-775-1620 (FAX)</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">oreilly@mbari.org (email)</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">http://www.mbari.org (World-wide Web)</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> </span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">"The machine does not isolate us from the great mysteries</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> of nature, but plunges us more deeply into them."</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> </span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> - ANTOINE DE SAINT-EXUPERY</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> "Wind, Sand, and Stars" (1939)</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> </span></div></div></body></html>