Create compare geospatial operation.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.1.0 (5.3.1)
Syntax
C#
public static Exp GeoCompare( Exp left, Exp right )
Parameters
- left
- Type: Aerospike.ClientExp
- right
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// Query region within coordinates. string region = "{ " + " \"type\": \"Polygon\", " + " \"coordinates\": [ " + " [[-122.500000, 37.000000],[-121.000000, 37.000000], " + " [-121.000000, 38.080000],[-122.500000, 38.080000], " + " [-122.500000, 37.000000]] " + " ] " + "}"; Exp.GeoCompare(Exp.GeoBin("a"), Exp.Geo(region))
See Also