<div dir="ltr"><div>Hi Jonathan</div><div><br></div><div>Which exact RuntimeError are you getting? It can be for several reasons (probably an installation or configuration issue).</div><div><br></div><div>Best,</div><div>Javier<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 18 Sept 2023 at 11:06, Jonathan Moules <<a href="mailto:jonathan-lists@lightpear.com">jonathan-lists@lightpear.com</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 List,<br>
<br>
I'm trying to get vector layer information via OGR and Python:<br>
<br>
```<br>
<br>
layer.GetSpatialRef()<br>
<br>
```<br>
<br>
This works fine for me on Windows with GDAL 3.7.1 on various different <br>
types of files (Shapefile, GPKG, GML, KML, GDB).<br>
<br>
But for my colleague on Ubuntu 22.0.4.3, also on GDAL 3.7.1 (via Conda), <br>
they get a Python RuntimeError for all shapefiles (the exact same <br>
shapefiles that work fine for me). It works for Geopackages for them.<br>
<br>
Anyone have any thoughts?<br>
Thanks,<br>
Jonathan<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>