Does Firebase do Geospatial?
We don't directly support geospatial queries. Currently, you'll need to add this functionality to your app on your own. Other users storing geodata in Firebase have had a lot of luck denormalizing data and using geohashes as keys. Geohashes let you "search" for nearby regions by truncating the key. Take a look at the description here: http://en.wikipedia.org/wiki/Geohash
For those still coming here through Google Search, Firebase supports this now. Check this blogpost for more details https://www.firebase.com/blog/2014-06-23-geofire-two-point-oh.html