SOS icon indicating copy to clipboard operation
SOS copied to clipboard

Filter WebService Returned Data

Open marcogrieco opened this issue 5 years ago • 4 comments

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

marcogrieco avatar Feb 13 '19 14:02 marcogrieco

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

CarstenHollmann avatar Feb 18 '19 08:02 CarstenHollmann

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

marcogrieco avatar Feb 18 '19 10:02 marcogrieco

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

CarstenHollmann avatar Feb 19 '19 07:02 CarstenHollmann

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

Sam-Bolling avatar Feb 19 '19 14:02 Sam-Bolling