I get: I get: Error: Exception while polling query {"collectionName":"people","selector":{"location":{"$near":{"$geometry":{"type":"Point","coordinates":["-73.5611497","45.5005087"]}},"$maxDistance":1000}},"options":{"transform":null}}: Can't canonicalize query: BadValue geo near accepts just one argument when querying for a GeoJSON point. Extra field found: $maxDistance: 1000
Thanks Guillaume; that was one of the things I’d tried. In that case I got a different error: Exception from sub people id NZsDQvx2Zwq6cZdur Error: Exception while polling query {"collectionName":"people","selector":{"location":{"$near":{"$geometry":{"type":"Point","coordinates":["-73.5611497","45.5005087"]},"$maxDistance":1000}}},"options":{"transform":null}}: $near requires a point, given { type: "Point", coordinates: [ "-73.5611497", "45.5005087" ] }
It’s still not working: Unable to execute query: error processing query: ns=meteor.people limit=0 skip=0 [...] Tree: GEONEAR field=location maxdist=1000 isNearSphere=0 Sort: {} Proj: {} planner returned error: unable to find index for $geoNear query