<div dir="ltr">Conda is an environment manager. I sometimes wish more people understood fully the value of environment management!<br><br>There are actually many ways an environment manager could solve what it seems your problem is. I will quickly go through the simplest scenario. I am sure you are more than capable of reading the documentation and working out the tweaks and embellishments for yourself.<div><br></div><div>Assuming the simplest case from what your OP said - i.e. that PostGre/PostGIS is currently working and that PDAL is not. In this case you want to uninstall PDAL (or for even more safety - uninstall everything and reinstall PostGIS from scratch ..).</div><div><br></div><div>Then install and run PDAL in a Conda environment - the steps for that are as follows:<br><br>1 - Install miniconda from <a href="https://docs.conda.io/en/latest/miniconda.html">https://docs.conda.io/en/latest/miniconda.html</a>,</div><div>2 - Read the docs about the basics of how to use it,</div><div>3 - create a new environment for running PDAL - let's call it "pdal-env" :<br><br><font face="monospace">conda create --name pdal-env</font></div><div><font face="monospace">conda activate pdal-env</font></div><div><br></div><div>4 - install PDAL by running the following in the same session as above:</div><div><br></div><div><font face="monospace">conda install -c conda-forge pdal</font></div><div><br></div><div>This command will install PDAL and ALL of its dependencies into the new environment. This includes the correct version of PROJ for the version of PDAL. See <a href="https://anaconda.org/conda-forge/pdal">https://anaconda.org/conda-forge/pdal</a></div><div><br></div><div>At this point in the session, PDAL should be working correctly. <br><br>5 - To use PDAL in the future - you need to open a Conda aware session (i.e. command line session for whatever OS you are on) and activate the pdal-env environment - i.e.</div><div><br></div><div><font face="monospace">conda activate pdal-env</font><br><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 8 Mar 2023 at 13:05, Raivo Rebane <<a href="mailto:raivo@r-systems.ee">raivo@r-systems.ee</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hi</p>
    <p>Thank You for answer, but I don't undrestand what I have to do
      with Conda. Install with conda Postgres/Postgis ?</p>
    <p>Or what ?</p>
    <p>If I start to change PROJ packacges how to know PROJ version</p>
    <p>Regards</p>
    <p>Raivo<br>
    </p>
    <div>On 08.03.23 12:56, Paul Harwood wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I am not sure that you can say this is a PROJ
        problem - it looks like the versions of PostGIS and PDAL you
        have installed are using different versions of PROJ and that is
        clashing - but PROJ is Working As Intended in this case.<br>
        <br>
        The solutions (in order of increasing simplicity) are probably :
        <div><br>
        </div>
        <div>1 - Manual work out the versions of all of the software you
          want to use so that there is no version clash,</div>
        <div>2 - Do what I would do which is - use <a href="https://docs.conda.io/en/latest/miniconda.html" target="_blank">Conda as an environment manage</a>r
          and run PDAL and PostGre as separate Conda environments and
          that will avoid the version clash.<br>
          <br>
          To be honest - you could also use 2) above and run them both
          in the same Conda environment and Conda will still ensure that
          the versions it installs do not clash.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, 7 Mar 2023 at 11:48,
          Raivo Rebane <<a href="mailto:raivo@r-systems.ee" target="_blank">raivo@r-systems.ee</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
          <br>
          how can I get help with this issue ?<br>
          <br>
          Does PROJ team has any support ?<br>
          <br>
          I cant use PDAL<br>
          <br>
          Can anybody helps me ?<br>
          <br>
          Regards<br>
          <br>
          Raivo<br>
          <br>
          On 03.03.23 22:47, Raivo Rebane wrote:<br>
          > Hi<br>
          ><br>
          > I have installed Posgres/PostGis 3.3.2 and installed
          PDAL. Now is <br>
          > conflict in PROJ libraries I guess, becose a I got error
          in PDAL <br>
          > filters.reprojection task:<br>
          ><br>
          > ERROR 1: PROJ: proj_create_from_database: C:\Program <br>
          >
          Files\PostgreSQL\15\share\contrib\postgis-3.3\proj\proj.db
          contains <br>
          > DATABASE.LAYOUT.VERSION.MINOR = 0 whereas a number >=
          2 is expected. <br>
          > It comes from another PROJ installation.<br>
          > PDAL: Could not import coordinate system 'EPSG:4326':
          PROJ: <br>
          > proj_create_from_database: C:\Program <br>
          >
          Files\PostgreSQL\15\share\contrib\postgis-3.3\proj\proj.db
          contains <br>
          > DATABASE.LAYOUT.VERSION.MINOR = 0 whereas a number >=
          2 is expected. <br>
          > It comes from another PROJ installation..<br>
          ><br>
          > How to repair this conflict ?<br>
          ><br>
          > Regards<br>
          ><br>
          > Raivo<br>
          ><br>
          ><br>
          _______________________________________________<br>
          pdal mailing list<br>
          <a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
          <a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a><br>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div>