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

optional column "datalink_url" cannot be found #9

Open
Laubeee opened this issue Nov 5, 2020 · 4 comments
Open

optional column "datalink_url" cannot be found #9

Laubeee opened this issue Nov 5, 2020 · 4 comments

Comments

@Laubeee
Copy link

Laubeee commented Nov 5, 2020

Hi, it seems the optional column datalink_url as documented here does not work. When I try to use it:

<table id="epn_core" onDisk="True" adql="True">
  <mixin spatial_frame_type="none" optional_columns="datalink_url time_scale thumbnail_url access_estsize" >//epntap2#table-2_0</mixin>
</table>

it errors with 'datalink_url' could not be located in table optional_columns

As a workaround I defined the column myself with:

<column name="datalink_url" type="text" ucd="meta.ref.url;meta.datalink" description="Link to folder with observation fits files" />

solutions are to either update the documentation or the optional columns

Cheers

@Erard
Copy link
Member

Erard commented Nov 5, 2020

@BaptisteCecconi
Copy link
Member

Hello @Laubeee, indeed the datalink_url is not yet implemented in the mixin The column must be implemented manually, at this point.

However, the use of this optional column should be described in more details, since it is not in the Datalink standard.

@Laubeee
Copy link
Author

Laubeee commented Nov 5, 2020

Small detail: is there anything that makes the ADQL query form result display the column as an actual URL, like it does with access_url?

@Erard
Copy link
Member

Erard commented Nov 5, 2020

You mean in DaCHS? I think not. It actually links to a page built on the fly. You can experiment with TOPCAT, which has internal support for datalink, or with the VESPA portal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants