Support Topics Documentation Slack YouTube Blog

Data filtered by Postal code

Hi,
I’ll try to figure out how to filter some data from an API call by postal code and distance.
Fore example:
The user A has a postal code
A data Object has a postal code
A I have to request data for the user A filtered by distance (like 50 Km)
How can I calculate de distance between postal codes and if it match show it?

I’m open to know better way to work with geolocalization of data objects.

Thanks!

Hello @Mario_Canevarollo

Please specify the question: What do you have, what do you want to get, what do you use?

Perhaps the following articles in our documentation will help you.

  1. Search in Radius - https://backendless.com/docs/rest/geo_radius_based_search.html
  2. Search with the Where Clause - https://backendless.com/docs/rest/data_search_with_where_clause.html
  3. Search by distance - https://backendless.com/docs/rest/data_search_by_distance.html