You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
// All rights reserved. Licensed under the BSD 3-Clause License. See LICENSE file in the project root for full license information.
3
+
4
+
package cmd
5
+
6
+
import (
7
+
"github.com/dicedb/dice/internal/errors"
8
+
"github.com/dicedb/dice/internal/object"
9
+
"github.com/dicedb/dice/internal/shardmanager"
10
+
dsstore "github.com/dicedb/dice/internal/store"
11
+
"github.com/dicedb/dice/internal/types"
12
+
"github.com/dicedb/dicedb-go/wire"
13
+
)
14
+
15
+
varcGEOPOS=&CommandMeta{
16
+
Name: "GEOPOS",
17
+
Syntax: "GEOPOS key [member [member ...]]",
18
+
HelpShort: "Return the positions (longitude,latitude) of all the specified members of the geospatial index.",
19
+
HelpLong: `
20
+
Given a sorted set representing a geospatial index, populated using the GEOADD command, it is often useful to obtain back the coordinates of specified member.
21
+
When the geospatial index is populated via GEOADD the coordinates are converted into a 52 bit geohash,
22
+
so the coordinates returned may not be exactly the ones used in order to add the elements, but small errors may be introduced.
0 commit comments