Query filter - Geolocation

Say I had longitude and latitude on a smart contract which is generated by a Factory contract. Do you think it would be possible to query for contracts that are within a certain radius of the query value?
For example, if it was a decentralized Airbnb dapp. The user would want to search for listings within a certain geolocation.