The Backendless Geservice supports a variety of ways for geopoints. So far we have reviewed how to search for geopoints in a radius or a rectangular area. There is also a partial match geopoint search. In addition to that, Backendless console provides yet another way to search for data – the cross-category search. As the name suggest, this search let’s you run SQL based queries across multiple categories. Enabling that search is very easy:
- Login to Backendless console, select an app and click the Geolocation icon.
- Click the Cross-category search toggle in the upper right corner of the user interface.
- Backendless console hides the geo categories and now you can enter an SQL query to search for data. Assuming you added the sample geolocation data, enter the following query:1city in ('AUSTIN', 'DALLAS')
- The console finds all geo points which satisfy the query and displays them in both data table and the map. The data table also shows the category each geopoint belongs to.