{
  "schema_version": 2,
  "id": "commands/georadius_ro",
  "title": "GEORADIUS_RO",
  "url": "https://redis.io/docs/latest/commands/georadius_ro/",
  "summary": "Returns members from a geospatial index that are within a distance from a coordinate.",
  "since": "3.2.10",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-06-15T06:26:34-07:00",
  "page_type": "content",
  "content_hash": "b4ebe8def6aaf239e554eee28b76e39686e6973da12a2cdf5acdbe3d4723b90b",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Read-only variant of the [`GEORADIUS`](https://redis.io/docs/latest/commands/georadius) command.\n\nThis command is identical to the [`GEORADIUS`](https://redis.io/docs/latest/commands/georadius) command, except that it doesn't support the optional `STORE` and `STOREDIST` parameters."
    },
    {
      "id": "required-arguments",
      "title": "Required arguments",
      "role": "content",
      "text": "<details open><summary><code>key</code></summary>\n\nThe name of the key that holds the geospatial index (a sorted set).\n\n</details>\n\n<details open><summary><code>longitude</code></summary>\n\nThe longitude of the center point.\n\n</details>\n\n<details open><summary><code>latitude</code></summary>\n\nThe latitude of the center point.\n\n</details>\n\n<details open><summary><code>radius</code></summary>\n\nThe radius of the search circle, in the unit given by the following argument.\n\n</details>\n\n<details open><summary><code>M | KM | FT | MI</code></summary>\n\nThe unit for `radius`: meters (`M`), kilometers (`KM`), feet (`FT`), or miles (`MI`).\n\n</details>"
    },
    {
      "id": "optional-arguments",
      "title": "Optional arguments",
      "role": "parameters",
      "text": "<details open><summary><code>WITHCOORD</code></summary>\n\nAlso return the longitude and latitude of each matching item.\n\n</details>\n\n<details open><summary><code>WITHDIST</code></summary>\n\nAlso return the distance of each matching item from the center, in the same unit as the radius.\n\n</details>\n\n<details open><summary><code>WITHHASH</code></summary>\n\nAlso return the raw 52-bit geohash-encoded score of each matching item.\n\n</details>\n\n<details open><summary><code>COUNT count [ANY]</code></summary>\n\nReturn at most `count` matches. With `ANY`, the command returns as soon as enough matches are found — faster, but the results may be unsorted.\n\n</details>\n\n<details open><summary><code>ASC | DESC</code></summary>\n\nSort the results by distance from the center: nearest first (`ASC`) or farthest first (`DESC`).\n\n</details>"
    },
    {
      "id": "redis-software-and-redis-cloud-compatibility",
      "title": "Redis Software and Redis Cloud compatibility",
      "role": "content",
      "text": "| Redis<br />Software | Redis<br />Cloud | <span style=\"min-width: 9em; display: table-cell\">Notes</span> |\n|:----------------------|:-----------------|:------|\n| <span title=\"Supported\">&#x2705; Standard</span><br /><span title=\"Supported\"><nobr>&#x2705; Active-Active</nobr></span> | <span title=\"Supported\">&#x2705; Standard</span><br /><span title=\"Supported\"><nobr>&#x2705; Active-Active</nobr></span> | Deprecated as of Redis v6.2.0. |"
    },
    {
      "id": "return-information",
      "title": "Return information",
      "role": "returns",
      "text": "**RESP2:**\n\nOne of the following:\n* If no `WITH*` option is specified, an [Array reply](../../develop/reference/protocol-spec#arrays) of matched member names\n* If `WITHCOORD`, `WITHDIST`, or `WITHHASH` options are specified, the command returns an [Array reply](../../develop/reference/protocol-spec#arrays) of arrays, where each sub-array represents a single item:\n    * The distance from the center as a floating point number, in the same unit specified in the radius.\n    * The Geohash integer.\n    * The coordinates as a two items x,y array (longitude,latitude).\n\n**RESP3:**\n\nOne of the following:\n* If no `WITH*` option is specified, an [Array reply](../../develop/reference/protocol-spec#arrays) of matched member names\n* If `WITHCOORD`, `WITHDIST`, or `WITHHASH` options are specified, the command returns an [Array reply](../../develop/reference/protocol-spec#arrays) of arrays, where each sub-array represents a single item:\n    * The distance from the center as a floating point number, in the same unit specified in the radius.\n    * The Geohash integer.\n    * The coordinates as a two items x,y array (longitude,latitude)."
    }
  ],
  "examples": []
}
