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

PostgreSQL function to return parks ordered by distance and within radius #55

Closed
nealf opened this issue Jun 8, 2017 · 2 comments
Closed

Comments

@nealf
Copy link
Member

nealf commented Jun 8, 2017

@jhawley We'll implement this and it should be available through the PostgREST api when it is done.

@nealf
Copy link
Member Author

nealf commented Jun 8, 2017

This function should be available at the endpoint https://parks.api.codefornrv.org/rpc/get_radius

Function calls in PostgREST require a POST with named variables, which in this case are:

  • longitude
  • latitude
  • radius (in miles)

@nealf
Copy link
Member Author

nealf commented Jun 22, 2017

Duplicate of #13

@nealf nealf closed this as completed Jun 22, 2017
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

1 participant