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

Search: location #28

Open
gregmalcolm opened this issue May 9, 2016 · 0 comments
Open

Search: location #28

gregmalcolm opened this issue May 9, 2016 · 0 comments

Comments

@gregmalcolm
Copy link
Owner

This one will be a little trickier than the other search requests. It would use the coordinate data in the Systems model. Not entirely sure how to do that in an sql friendly kind of way. John Rutherford left us some notes on sphere searches:

https://github.com/gregmalcolm/ed-materializer/wiki/Notes:--Distance-Calculations-(via-John-Rutherford)

... but we could probably get away with doing something as simple as checking if the X/Z coordinates are in a certain freshhold for the first pass.

I'm thinking the basis for the search would be along the lines of "Give me systems X ly from System Y".

So the search string would probably be:

"from:Beagle Point dist:500"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant