A Swift library that simplifies spatial queries and proximity searches for Realm databases on iOS.
RealmGeoQueries is a Swift library that adds spatial query capabilities to Realm databases for iOS applications. It solves the problem of performing proximity searches and location-based filtering on Realm objects without native geospatial support. Developers can easily find nearby points, filter by map regions, and integrate geographic queries into existing Realm workflows.
iOS developers using Realm as a local database who need to implement location-aware features like finding nearby places, filtering map pins, or building geofencing logic in their apps.
It provides a lightweight, no-fuss solution for spatial queries in Realm, requiring only latitude/longitude properties and no extra dependencies like geohash libraries. It seamlessly extends Realm's query API with geographic methods.
Realm GeoQueries made easy
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Only requires standard latitude and longitude properties in the model, eliminating the need for geohash indexes or complex data modifications, as emphasized in the README's philosophy.
Extends Realm's query API with methods like findInRegion and filterGeoRadius, allowing for easy chaining with existing filters and sorts, which is highlighted in the chainable filters feature.
Works directly with coordinate properties without extra dependencies, avoiding the overhead and learning curve associated with geohash implementations, as stated in the key features.
Allows configuration of custom property names for latitude and longitude via parameters, making it adaptable to various data models without renaming fields, as noted in the usage section.
Lacks built-in spatial indexes like geohash, so queries may become slow on large datasets, as the library relies on linear scanning or basic distance calculations without optimization hints in the README.
Supports only basic proximity and rectangular region queries, missing advanced capabilities such as polygon intersections, distance calculations along paths, or support for complex geometries, which the README does not address.
Tightly coupled with specific Realm and Swift versions, requiring updates for compatibility; the README's version table shows potential breaking changes with major updates, adding maintenance overhead.