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

Use standard MongoDB geospatial format #337

Open
Torgen opened this issue Aug 5, 2018 · 0 comments
Open

Use standard MongoDB geospatial format #337

Torgen opened this issue Aug 5, 2018 · 0 comments

Comments

@Torgen
Copy link
Contributor

Torgen commented Aug 5, 2018

We currently represent location as an embedded document with 'lat' and 'lng' fields. MongoDB has native geospatial query abilities which we could use to, for example, publish a synthetic collection of users near you.
https://docs.mongodb.com/manual/geospatial-queries/
We should use their format instead.

Torgen added a commit to Torgen/codex-blackboard that referenced this issue Oct 6, 2018
Will address cjb#337, but as written depends on Meteor native account support, which I don't have a PR for yet but will probably create one for once cjb#338 is merged.
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