Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Firebase do Geospatial?

Tags:

firebase

I would like to retrofit Firebase to an existing app. The existing app uses CouchDB and GeoCouch to ensure that the client only retrieves data that is 'near' the user.

Does/will Firebase support this type of feature or is this something I will need to do myself?

like image 942
Michael Dausmann Avatar asked Feb 14 '13 21:02

Michael Dausmann


People also ask

What is Firebase best used for?

Firebase helps you develop high-quality apps, grow your user base, and earn more money. Each feature works independently, and they work even better together.

What type of data is Firebase?

The Firebase Realtime Database is a cloud-hosted NoSQL database that lets you store and sync data between your users in realtime. NEW: Cloud Firestore enables you to store, sync and query app data at global scale.

What is the difference between Firebase database and realtime database?

Cloud Firestore is Firebase's newest database for mobile app development. It builds on the successes of the Realtime Database with a new, more intuitive data model. Cloud Firestore also features richer, faster queries and scales further than the Realtime Database. Realtime Database is Firebase's original database.

Is Firebase a database or framework?

Firebase is a Backend-as-a-Service (Baas). It provides developers with a variety of tools and services to help them develop quality apps, grow their user base, and earn profit. It is built on Google's infrastructure. Firebase is categorized as a NoSQL database program, which stores data in JSON-like documents.


2 Answers

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

like image 199
Akshay Agarwal Avatar answered Oct 06 '22 23:10

Akshay Agarwal


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

like image 39
Vikrum Avatar answered Oct 07 '22 00:10

Vikrum