-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Datahub] - Add filter options on the download menu #766
Comments
Hi, thanks for your interest, Could you please explain what are the tags you mention that let you apply these filters? are these standard ISO fields? Also, how many download links do you typically expect in order for such filtering to become valuable? |
Hi,
The swagger of API telechargement is here : https://data.geopf.fr/telechargement/swagger-ui/index.html (today 16/01, it won't work because of maintenance). When you consider that there are 101 departments in France, maybe the results of this component will need to have pagination. |
Thanks for the clarification, it definitely makes more sense! Do we agree that records with this feature would be service metadata, and not datasets? There has been a discussion for a while about how/if we should show services in the datahub; currently they're filtered out. A component such as the one mentioned here would make sense for other kinds of services (WMS, OGC API etc.), so we could address this use case globally and do a specific implementation for the IGN APIs. Also, could you please clarify if this work will be funded by IGN? |
We (IGN) are currently developing this download component specifically for the datasets pages because there will be plenty of datasets with different years (and eventually format and territories). Maybe we will dadapt this component for this specific PPK-download service page adding the filter dataset. Then we (IGN) will develop a map-based download component principally used for datasets which have a high weight (for exemple LidarHD). Moreover this type of dataset are available as tiles of 1km to 1km (for LidarHD) |
Ok, I see, then this interface would simply show up next to an API link pointing at the IGN Géoplateforme, regardless of the metadata type we're in. I think such a "capabilities explorer" component would be very useful even outside of the IGN use cases, e.g. listing layers in a WMS endpoint. Would you agree to participate in a preliminary UX work to properly design this component and its integration in the datahub? |
I think there are 2 subjects :
For Geoplateforme (the governance is not only supported by IGN) :
For 2 : the getcapabilities will be available on each dataset page and on the organisation page (we want to suggest the community to have a specific for each organization with a description (exeample : https://www.data.gouv.fr/fr/organizations/institut-national-de-la-statistique-et-des-etudes-economiques-insee/) |
But to answer : (sorry) yes we agree to participate in a preliminary UX Work. Note that the development teams at IGN for Geoplateforme may be different for each component |
@IGNF-Xavier Could you please get in touch with someone at Camptocamp? (your contact information is not public) Thanks! |
Meetings note are here (FR): https://semestriel.framapad.org/p/api-telechargement-datahub-a5o8?lang=fr |
This is the workflow we plan to do. Did it seem alright to you? @fgravin and @jahow ---
title: Workflow IGN download API
---
%% doc mermaid ici https://mermaid-js.github.io/mermaid/#/flowchart?id=flowcharts-basic-syntax
flowchart TD
A("record-apis-component") -->|choose proxy compenent API| B("feature/record/proxy-apis-component")
B -->|do| C(feature/record/ign-api-dl)
C -->|begin| D(IGN API client)
C -->|display| E(ui/ign-dl-form)
D <-->|look at| C
|
Thanks for working on this and giving more details:
Pinging @fgravin because there may be things that were discussed before that I don't know about 🙂 |
Where would you do the switch statement (API type => corresponding form) ? in
Yes I told them to start with implementing the feature component, then perhaps we could split it with some UI components or not. Might not be needed though. |
Right, good point! then a generic |
Hi @mmohadIGN @tomalary, this PR might interfere with your work there? #875 We're going to merge this soon so as to make it part of the next release, let us know if there's anything that can be done to help with potential conflicts. |
Hi, Thanks, it should be okay for us, but we will tell you if not |
Hello @jahow , We’ve completed the development of the first version. This version includes a form to download data from our "API téléchargement". Before proceeding, I would like to confirm if I should initiate a PR into the main branch. I will also link the relevant issue. Please let me know if you need further details or if any additional steps are required before the merge. |
Hi @mmohadIGN,
yes please!
Since this sounds like a significant issue we will go through a review process. Please make sure that the PR is correctly applied to the latest main branch, thanks! |
Hi @jahow , Sorry for the delay. |
On each datasets page, the user can access to options to filter download resources and not only per file extension. The filters can be set up (for example per year).
The filter is a drop-down menu with suggestion and autocomplete search on each drop-down menu.
Draft of the component...
For the display of the download links the component check the tag in the metadata. Then we create the download links and they are displayed. If the tag are not found the component work as the usual downloading component.
As our solution is to create the download links by using API Entrepot (API developed by IGN that allow to load/process/share data services), we are open to discuss about an enhancement that suits everyone.
If this feature is not clear please let us know or ask questions to clarify.
This work is sponsored by IGN.
The text was updated successfully, but these errors were encountered: