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

Store bounding boxes only for admin records #147

Open
orangejulius opened this issue Oct 13, 2016 · 1 comment
Open

Store bounding boxes only for admin records #147

orangejulius opened this issue Oct 13, 2016 · 1 comment

Comments

@orangejulius
Copy link
Member

I was looking at some venue records and notices they have bounding box values like this:

"bounding_box": "{\"min_lat\":20.879073,\"max_lat\":20.879073,\"min_lon\":-156.681202,\"max_lon\":-156.681202}",

This is obviously not interesting as a bounding box (it's the same information as the center point field), and it's being stored as a string across probably 20 million documents. We can free up some space easily by not storing bounding boxes that are just points.

@trescube
Copy link
Contributor

Good idea!

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

2 participants