Questions tagged [geofire]

GeoFire is a library for storing and querying geographic locations and receiving realtime updates when location data changes.

GeoFire is an open-source library that allows you to store and query a set of items based on their geographic location. GeoFire uses Firebase for data storage, allowing query results to be updated in realtime as they change. GeoFire does more than just measure the distance between locations; it selectively loads only the data near certain locations, keeping your applications light and responsive, even with extremely large datasets.

GeoFire is an MIT-licensed open source project, which you can see here: https://github.com/firebase/geoFire

Related tags

576 questions
0
votes
1 answer

GeoFire and Firebase Query

I'm a bit confused on the proper way to query Firebase with GeoFire results. Reading the directions for GeoFire, I should keep locations and user data separate in the tree. So I have the following: -location - userID - g -…
Buyin Brian
  • 2,781
  • 2
  • 28
  • 48
0
votes
1 answer

Using promises in loops with angular

I'm having trouble with repeating data from a loop (which is not accurate, the data should be unique). I believe the problem is due to a poor implementation/understanding of promises. var posts = PostsData.getPosts(); …
P K
  • 3
  • 2
0
votes
1 answer

Error in Geofire: 'Firebase/Firebase.h' file not found

I ran a pod install on GeoFire today and the error occurred. 'Firebase/Firebase.h' file not found The error is happening in the GeoFire.m file. GeoFire.m #import "GeoFire.h" #import "GeoFire+Private.h" #import "GFGeoHash.h" #import…
AustinT
  • 1,998
  • 8
  • 40
  • 63
0
votes
1 answer

Iterating through array of objects using geofire and firebase

I am trying to loop through an array of objects(posts). Within the loop is a query to a geofire database (gf.get()). It retrieves the gps location of a certain key. The data is then pushed to an array. var posts = PostsData.getPosts(); …
P K
  • 3
  • 2
0
votes
2 answers

Error performing functions inside a GeoFire and Firebase query

I am querying nearby locations using Firebase and the results are correct when I do a systemPrint. But when I tried to create a new Location item and put it in a globally declared arrayList then loop through the ArrayList to print it. It doesn't…
Ben Wong
  • 691
  • 2
  • 19
  • 29
0
votes
1 answer

GeoFire structure doesn't match documentation

GeoFire is saving data using an undocumented structure. How can I get it to save like the official examples. I haven't followed any particular tutorial or guide, but I've based my work heavily on these examples. I've been able to replicate the…
JohnParkerG
  • 65
  • 1
  • 10
0
votes
1 answer

Filter ng-repeat with Firebase Data

I have a set of events that I repeat, and they can already be filtered by a search box.
Alteredorange
  • 556
  • 1
  • 6
  • 23
0
votes
1 answer

Can't refer to GeoFire in iOS project

I'm new here and also new to iOS and Swift development. I'm trying to use GeoFire for my first project and install the library using Cocopod. I can see the GeoFire files in my project directory. However, I am having problem referencing it in my…
Thien
  • 3
  • 1
  • 4
0
votes
1 answer

Structuring data in firebase from RDBMS perspective

I am developing a hybrid mobile application using firebase for backend. I am used to the traditional relational DBMS and this is my first time trying out the NoSql way. I am having a hard time structuring my data. I am not sure if I am doing it…
Nikhil
  • 1,166
  • 2
  • 17
  • 35
0
votes
1 answer

When do I know GeoFire is finished loading as it is Event based trigger

So I used GeoFire and AngularFire for populate my ng-repeat item lists. There is an ionic pull to refresh list. So user pull it and get the current updated location and refresh the list (recall the GeoFire to re-populate the…
Hugh Hou
  • 2,344
  • 5
  • 31
  • 55
0
votes
1 answer

Firebase Geofire query only returns nearby items when a huge radius is set

For some reason my Geofire query only returns items if the radius is set to exactly 1197 or above. Any less and nothing will be returned. When the data is returned and I log the distances, they are all less than 1km, so this doesn't make any sense…
sherlock
  • 367
  • 5
  • 15
0
votes
0 answers

Geofire Loads All Keys on Load

I'm trying to create an application with Geofire that loads points onto a map with Firebase (obviously) within a certain radius. However, I've noticed that when I start the application, all the points in my dataset are initially preloaded into my…
Dhruv Gupta
  • 83
  • 1
  • 10
0
votes
1 answer

GeoFire geoQuery returning data

I'm newbie with Firebase + GeoFire and I'm having trouble with geoFire query function. I want to add in an array the results from geoQuery function and return it in a function. But the data I have manipulating inside geoQuery.on method seems out of…
Lorraine
  • 441
  • 5
  • 23
0
votes
0 answers

Geofire query doesn't activate unless ctrl + f5

I am using the geofire library with angularjs. I noticed something odd happening when writing out a basic geolocation based query. Upon a state change, the page displays blank and the query doesn't appear to execute. However, if I ctrl + f5, the…
K.B. Choi
  • 13
  • 1
  • 8
0
votes
1 answer

Can you install GeoFire using cocoapods?

There seems to be a podspec for GeoFire: at https://github.com/firebase/geofire-objc/blob/master/GeoFire.podspec, but CocoaPods has no idea it exists http://cocoapods.org/?q=geofire. Is there a way to install GeoFire with CocoaPods?
Andrew Stromme
  • 2,120
  • 23
  • 30