<div dir="ltr"><div dir="ltr"><div>Hi</div><div><br></div><div>I am trying to use PROJ in a minimalistic deploy... without proj.db</div><div>I only need to do transformations based on a proj-pipeline.</div><div><br></div><div>Just something like "+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=utm +zone=32 +ellps=WGS84"</div><div><br></div><div>I am calling "proj_create(ctx, str)", and I get an error message "Cannot find proj.db"</div><div><br></div><div>First question: Do I need proj.db for that purpose? I would say that not. The transformation is already defined in the pipeline, I don't need anything from EPSG. But now I'm not sure.</div><div><br></div><div>Second question: if it is not needed, is that a bug or am I doing something wrong?</div><div><br></div><div><br></div><div>Looking at the code of proj_create, I see at the begining:</div><div><br></div><div>    // Only connect to proj.db if needed<br>    if (strstr(text, "proj=") == nullptr || strstr(text, "init=") != nullptr) {<br>        getDBcontextNoException(ctx, __FUNCTION__);<br>    }</div><div><br></div><div>That I assume is not executing getDBcontextNoException. The comment seems promising for my purpose, but it is failing somewhere. There is a similar check in the C++ code.</div><div><br></div><div>Thanks.</div><div>Javier.</div></div>
</div>