[gdal-dev] layer.GetSpatialRef() fails on linux for shapefiles

Jonathan Moules jonathan-lists at lightpear.com
Thu Sep 28 04:10:28 PDT 2023


Hi Even,

The colleague doesn't have either a PROJ_LIB or a PROJ_DATA environment 
variable.

I asked another colleague to try it; they're on Ubuntu 20.04, and it 
worked for them. I believe using the same setup instructions.

Cheers,

Jonathan

On 2023-09-24 22:37, Jonathan Moules via gdal-dev wrote:
> Thanks Even. I don't have access to the machine either as the 
> colleague is moving to another project. I'll have to see if it fails 
> for another *nix user.
>
> On 2023-09-24 22:35, Even Rouault wrote:
>>
>> Le 24/09/2023 à 23:22, Jonathan Moules via gdal-dev a écrit :
>>>
>>> > Also check if the environment isn't messed up regarding PROJ and 
>>> the PROJ_LIB/PROJ_DATA environment variable
>>>
>>> Thanks Even; sorry, what does this line mean? I'm guessing you're 
>>> referring to: https://proj.org/en/9.3/usage/environmentvars.html - 
>>> what would a "messed up" one look like?
>>>
>> Hard to say without access to the machine. Perhaps just try to 
>> recreate a new Conda env from scratch
>>
>>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list