duckdb / duckdb/duckdb-spatial

GDAL GML driver Error setting certificate file

Open
#556 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
708
Forks
96
Avg merge
1d 21h
Merged PRs (30d)
5

Description

When loading GML files with st_read GDAL tries to download the schema:

> DOWNLOAD_SCHEMA=[YES​/​NO]: Defaults to YES. Whether to download the remote application schema if needed (only if the document looks like a WFS response currently).

https://gdal.org/en/stable/drivers/vector/gml.html#open-options

and throws

````
IO Error:
GDAL Error (1): error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt
````

> ℹ️ Info: I tested it on MacOS (cli and python) and it works **but fails on Linux (cli and python)**.

# To Reproduce

```sh
wget https://www.geodaten-mv.de/dienste/inspire_ad_alkis_download\?REQUEST\=GetFeature\&SERVICE\=WFS\&VERSION\=2.0.0\&TYPENAMES\=ad%3AAddress\&count\=1 -O test.gml
```

```sql
FROM st_read('test.gml');
```

OS: Linux
Version: 1.2.0, 1.2.1, 1.2.2
Environment: CLI, python

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.