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
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}