Geo Filter in pull replication Sync_gateway

I am working with Geofence . I want to create channel with lat long with a radius . How can i do this?

Right now, i am converting lat long to address ,then create channel with city name . But some place lat long has no city area . That’s why i want to create channel with lat-long and radius .

@jislam150 … use a geohash like and have the geoHex as a channel.

So from your current last and long you can convert to a geohex and pull the channel(s) down.

You can have have doc channel look like this.

“name”:“xyz store”,
“lat”: “…”,