Skip to content
BigBoxCode
  • Home
  • Fundamental
    • Design Patterns
    • Design Principles
    • Data Structures
  • Programming
    • JavaScript Programming
    • Laravel Framework
    • Server-Sent Events(SSE)
    • Python Programming
    • PHP Programming
  • Database
    • MySQL
    • Redis
    • MongoDB
  • DevOps
    • Linux Fundamentals
    • Linux Commands
    • Docker
  • All Tutorials

Redis Geospatial Command

Redis Command: GEOSEARCH

July 8, 2024January 21, 2024 by BigBoxCode

Find all the geo position members saved in a geoindex, which are within a certain distance and in a certain area(circular or box). This command can be used as a substitute for GEORADIUS and GEOREDIUSBYMEMBER commands, as those commands are deprecated.

Categories Redis Tags Redis Command, Redis Geospatial Command Leave a comment

Redis Command: GEOPOS

July 8, 2024January 18, 2024 by BigBoxCode

Get the longitude and latitude of specific members from a geospatial index. Multiple members are allowed in the same command, so we can get the position of multiple members at the same time as an array.

Categories Redis Tags Redis Command, Redis Geospatial Command Leave a comment

Redis Command: GEOHASH

July 8, 2024January 16, 2024 by BigBoxCode

Get the geohash string for one or more geo index members. We can add some members(longitude, latitude, member_name) to a geoindex using “GEOADD” command, then we can get the geohash of those members using this GEOHASH command.

Categories Redis Tags Redis Command, Redis Geospatial Command Leave a comment

Redis Command: GEODIST

July 8, 2024January 8, 2024 by BigBoxCode

Get the distance between 2 members/items saved in geospatial index. Geospatial information is saved in a sorted set data structure, when added with GEOADD command. This GEODIST command helps us to get the distance between 2 members saved in the geoindex.

Categories Redis Tags Redis Command, Redis Geospatial Command Leave a comment

Redis Command: GEOADD

July 8, 2024January 2, 2024 by BigBoxCode

Add one or more geospatial items/members to a geospatial index. If the does not exist, it is created first, and then the data is inserted. The geospatial data is saved in a key as a sorted set.

Categories Redis Tags Redis Command, Redis Geospatial Command Leave a comment
  • Tutorials
  • Design Patterns [classic/core patterns for OOP]
  • Design Principles
  • Data Structures
  • Server-Sent Events(SSE)
  • MySQL Tutorials
  • Redis Tutorials
  • MongoDB Tutorials
  • JavaScript Programming
  • PHP Programming
  • Laravel Framework
  • Python Programming

Sponsors

  • About
  • Contact
  • Privacy Policy
  • Disclaimer
  • All Tutorials
  • Sitemap
  • Resources
  • RSS Feed
  • GitHub
  • Linkedin
  • Youtube
© 2025 BigBoxCode