You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to access the items in the dataset, I receive the following error message:
[...]
[2024-11-19T15:59:32Z] {/pygeoapi/pygeoapi/provider/geojson.py:95} WARNING - File s3://my-s3-bucket/path/to/my-data-set.geojson does not exist.
[...]
[2024-11-19T15:59:32Z] {/pygeoapi/pygeoapi/provider/geojson.py:111} WARNING - File s3://my-s3-bucket/path/to/my-data-set.geojson does not exist.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently trying to serv a GeoJSON file with the GeoJSON provider, which is located in a non-public S3 bucket.
My set-up:
pygeoapi version: v0.19dev aka main
resource config:
The s3 credentials are provided using environment variables:
FSSPEC_S3_ENDPOINT_URL
:https://obs.eu-de.otc.t-systems.com
FSSPEC_S3_KEY
:***
FSSPEC_S3_SECRET
:***
When trying to access the items in the dataset, I receive the following error message:
These errors refer to source code which is checking local files only:
https://github.com/geopython/pygeoapi/blob/master/pygeoapi/provider/geojson.py#L82 --> Error thrown in 95
https://github.com/geopython/pygeoapi/blob/master/pygeoapi/provider/geojson.py#L107 --> Error thrown in 111
Hence, I assume that the GeoJSON provider is not able to handle S3 links, right?
I think that this is related to this PR #1640.
Beta Was this translation helpful? Give feedback.
All reactions