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

Query on restricted data? #298

Open
katrijndirix opened this issue Nov 16, 2020 · 4 comments
Open

Query on restricted data? #298

katrijndirix opened this issue Nov 16, 2020 · 4 comments
Labels
dov Related to the DOV webservices

Comments

@katrijndirix
Copy link

Aside from the drill cores that are publicly available, some cores have the tag 'restricted' in the DOV-database.
Employees of the Flemish government and some other parties have access to these cores in the DOV-database, but (logically) cannot query on them using pydov.

Do you see a way to add some sort of login-module to pydov to allow certain users to include restricted cores in their pydov-queries? I realize that this is probably no simple question, but nothing ventured, nothing gained.

@pjhaest
Copy link
Collaborator

pjhaest commented Nov 17, 2020

this was discussed in a previous sprint, without concluding anything. It is interesting for privileged users, but is a bit out of scope for pydov.
If I remember correctly, the proper entrances in the backend should be made available first, and a login module needs to be developed where user rights can be passed to the querying instance. Not an ITer myself as you probably understand from my explanation above. Nevertheless, looking forward to suggestions of implementations.

@Roel
Copy link
Member

Roel commented Nov 22, 2020

For this to work we need two things:

(1) a way to authenticate with DOV to get access to restricted items. We could use something like this, but that is not at all trivial to setup.

(2) an authenticated search service (most preferably WFS) to query the data and retrieve the results you have access to. I don't think this currently exists.

There is no point in implementing (1) if (2) is not available, as you wouldn't be able to get the (location of) the items you have access to.

@Roel Roel added the dov Related to the DOV webservices label Nov 22, 2020
@katrijndirix
Copy link
Author

I understand that this is nothing trivial, nor a priority for pydov. And indeed, it is only relevant for a restricted number of users.
For the time being, we will continue downloading information of these cores manually.
Thank you for the replies!

@pjhaest
Copy link
Collaborator

pjhaest commented Nov 30, 2020

If this functionality would be very useful for you, you can always contact the people of DOV (@marleenvd ) and see how you could work this out together, and/or other interested users? Just a bold suggestion.

@Roel Roel changed the title Query on restricted drill cores? Query on restricted data? Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dov Related to the DOV webservices
Projects
None yet
Development

No branches or pull requests

3 participants