-
Notifications
You must be signed in to change notification settings - Fork 47
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
Specify location based searches #289
Comments
@aaghevli See http://opensupporter.github.io/osdi-docs/#filtering-collections OSDI does actually define a filter function 'near' . |
Ah thanks! I was not aware of those and can investigate that a bit more. I am happy to close this until I get a better idea of that API. One question is how we know what the first parameter is supposed to be?
The first parameter looks like a zip code, but that seems a bit loosely specified. Is that supposed to include the parameter name (e.g. address.postal_code near(‘10011’, ‘5 miles’)). |
fwiw, we have a second implementation (of resistance calendar's version) here: |
Also, I have a slightly different question than @aaghevli -- can 'near' also be anything besides a zip? how do you do |
I think right now it probably only means zip, since we don't specify the field name in the near syntax. This is probably a good area for further work too -- a way to do near on other fields, for example. |
closed by committee 9/19/2018 |
Neither ODATA nor OSDI specify proximity searches. In Resistance Calendar we implemented the following API to support that.
The text was updated successfully, but these errors were encountered: