Location Tracker repo for storing current locations of drivers.
-
better arr
[lon,lat]
or in GeoJSON format e.g{ "type": "Point", "coordinates": [lon,lat] }
-
the cardinality is not too big (remember MongoDB document max size is 16MB). If you have 100K points per user split the collections
-
save result as
coordinates: [<longitude>, <latitude> ]
-
12