Move Haversine formula into SQL. Add get crimes in category