I easily can store geolocation Data into MongoDB with an Eve RESTful API Server running. So I store data like:
loc : {
lng: 13.01111,
lat: 51.01111
}
Validation etc. works nicely.
But: I was unable to find a way to get geolocation data out of the REST API. There are sample queries over there working fine at the command-line, but there seems to be no way to query the API a appropriate way.
- Is there a way to throw MongoDB like Queries against the REST API or
- which is the prefered way to customize the API for such a purpose.
To make things clear: There is already a 2d index and geoWithin queriey at the mongo-cmd are working fine. It's just about how to query via the REST API.