[osgeo4w-dev] [osgeo4w] #744: pyproj (python3-pyproj) not working in QGIS
OSGeo4W
trac_osgeo4w at osgeo.org
Tue May 10 23:48:37 PDT 2022
#744: pyproj (python3-pyproj) not working in QGIS
------------------------+----------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: closed
Priority: major | Component: Package
Version: | Resolution: invalid
Keywords: |
------------------------+----------------------------
Comment (by andreaerdna):
Thanks for looking at this. Actually the issue is not due to the lack of
the proj82-runtime package, but to the install/uninstall procedure of the
proj*-runtime packages.
In fact, when the proj90-runtime is originally installed, then the
proj_9_0.dll file is put in the bin folder and the proj.bat file in
etc/ini and proj.db, proj.ini and other files in share/proj.
If afterwards the proj82-runtime package is installed, then the
proj_8_2.dll file is put in the bin folder, alongside proj_9_0.dll already
present, and proj.bat, proj.db, proj.ini and other files are overwritten.
When the proj82-runtime package is uninstalled, then the proj_8_2.dll file
is removed (correctly leaving the proj_9_0.dll file in place) but are are
also removed the proj.bat, proj.db, proj.ini and the other files.
So now the system has again only the proj90-runtime with the proj_9_0.dll
in the bin folder, but now the proj.bat, proj.db, proj.ini and other files
are missing, so pyproj and other PROJ stuff will not correctly work
because needed files are missing.
So, to replicate the reported issue, do a fresh installation of qgis-full
(the proj90-runtime will be automatically installed), then manually
install proj82-runtime (or any other proj*-runtime package) and remove it
afterwards.
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/744#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list