Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open DwcA with "measurementorfacts.txt" layer #37

Open
sentry-io bot opened this issue Jul 26, 2024 · 3 comments
Open

Unable to open DwcA with "measurementorfacts.txt" layer #37

sentry-io bot opened this issue Jul 26, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 26, 2024

Sentry Issue: CATALOGUE-18

SystemExit: 1
(32 additional frame(s) were not displayed)
...
  File "metadata_catalogue/datasets/geoapi/views.py", line 220, in collection_item
    response_ = _feed_response(request, "get_collection_item", collection_id, item_id)
  File "metadata_catalogue/datasets/geoapi/views.py", line 491, in _feed_response
    geoapi_conf, openapi_def = config.get_config(req_to_base(request))
  File "metadata_catalogue/datasets/geoapi/models.py", line 94, in get_config
    openapi = get_oas(conf)
@sentry-io sentry-io bot added the bug Something isn't working label Jul 26, 2024
@frafra
Copy link
Collaborator

frafra commented Jul 26, 2024

The SQL query needs must refer to the layers using their filename, not their assigned name (for some unknown reason).

@frafra frafra changed the title Unable to open DwcA with "measuramentorfacts.txt" layer Unable to open DwcA with "measurementorfacts.txt" layer Jul 26, 2024
@frafra
Copy link
Collaborator

frafra commented Jul 26, 2024

It seems that GDAL is not coherent when dealing with layer names: OSGeo/gdal#10511.

@frafra
Copy link
Collaborator

frafra commented Jul 29, 2024

<SrcLayer> needs to be specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant