SOS
SOS copied to clipboard
Filter WebService Returned Data
Hi, i have readed the North52 documentation but i have not seen a way to filter the web service returned data. There is a way to filter data based on the requester?
Thanks in advance.
Marco
Hi Marco,
depending on the request, you can defined different filter parameters in the requests to get the information you are interested in. For example in the GetObservation request you can define the filters for:
- procedure
- observedProperty
- offering
- featureOfInterest
- temporal filter
- spatial filter
In the exmaple request provided by the 52N SOS you can find several examples with the filter parameters.
We recommend to read the OGC SOS standard. There are all operations described including the filter parameters which can be applied.
Best, Carsten
Hi Carsten, i would like filter the returned data by requester. If the user A call the WebService, i have to return only the data about sensors S1, S2, S2. If the user B call the WebService, i have to return only the data about sensors S4, S5, S6 and so on...
I don't want to use the filter parameters. It is an implicit filter.
Thanks,
Marco
Hi Marco,
what you have described is authentication and authorization which is not yet implemented in the 52N SOS but there are discussions in some projects how such a mechanism can be implemented.
Best, Carsten
Hello, Carsten, et. al,
I too am interested in this feature. Can you link to the ongoing discussions referred to in this thread?
Respectfully,
Sam