[gdal-dev] how do you install and configure ogr2ogr on windows with anaconda3

Even Rouault even.rouault at spatialys.com
Mon Jul 24 06:36:41 PDT 2023


Le 24/07/2023 à 11:53, Vijay Kurhade a écrit :
> Hi;
>
> i have anaconda3 on my windows system;  after installing gdal i can 
> check from command prompt ogr2ogr --version and it returns
>
> ogr2ogr --version
> GDAL 3.6.2, released 2023/01/02
>
> But when i try to run it on my intended dxf file I get following errors
>
> ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
> ERROR 1: Failed to process SRS definition: EPSG:4326
>
> Am I missing setting any system variables for proj.db? Where do I find it?

Maybe your environment is a bit messed up. Normally the PROJ_LIB / 
PROJ_DATA environment variable should be automatically set up.

Perhaps recreate a fresh Conda environment and install GDAL in it

Even

>
>
> Thanks in advance.
>
> Regds-
> vijay
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list