[gdal-dev] GDAL/OGR missing READ capabilities
Stephen S.
stephen at asitemade4u.com
Thu Nov 28 12:50:57 PST 2024
Hi All, and Happy Thanksgiving!
This is probably a silly question but here is the situation I am in with
OGR.
1. I had to reinstall a QEMU virtual machine with *CodeServer*
installed. The OS is Alma Linux 9.5.
2. My main coding environment is *R* and I am performing a lot of
geospatial operations on a *Postgis* database.
3. So, I installed GDAL because it is needed by the *sf* plugin of R --
a toolbox for geospatial operations in R.
4. I also need OGR to *import GPX files into the Postgis database*. I
execute something like:
`ogr2ogr -skipfailures -append -update -f 'PostgreSQL' -t_srs
'EPSG:4326' 'PG: host=<internal_host> port=5432 dbname=<dbname>
user=<username> password=<pwd>' -nln `
5. BUT since I reinstalled GDAL, when executing the GPX importg
procedure, I get this error:
```log
ERROR 6: OGR/GPX driver has not been built with read support. Expat
library required
FAILURE:
Unable to open datasource `/mnt/gps/20241127-C.gpx' with the following
drivers.
```
I have reinstalled the `expat` library but it did not help.
What have I done wrong?
Thank you for your help,
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241128/a6c29ace/attachment.htm>
More information about the gdal-dev
mailing list