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

Clarify the implementation of spatial query filter parameters #4

Open
damb opened this issue Sep 25, 2020 · 1 comment
Open

Clarify the implementation of spatial query filter parameters #4

damb opened this issue Sep 25, 2020 · 1 comment

Comments

@damb
Copy link

damb commented Sep 25, 2020

The fdsnws-station spec is not really clear about how to handle requests, when both rectangular spatial query filter parameters and circular spatial query filter parameters are given.

Questions arise, such as:

  • Are rectangular and circular query filter parameters mutually exclusive?
  • Is data returned matching the resulting union of both the rectangular and circular area? Note, that this approach would require merging the data to be returned since a single station/channel might be part of both areas.

I'm aware, that the implementation of circular query filter parameters is optional.

@chad-earthscope
Copy link
Member

It certainly wouldn't hurt to clarify this detail.

At the IRIS DMC we take the first view of the two geographic selection parameters being mutually exclusive, i.e. we do not allow both the rectangular criteria and the distance (circular) criteria in the same query, avoiding the ambiguity.

In my view, if the service API is going to allow multi-geographic region search it needs to be more comprehensive that one rectangle and one circle, which is hardly useful.

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

2 participants