Exp.GeoCompare Method
Create compare geospatial operation.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public static Exp GeoCompare(
Exp left,
Exp right
)
- left Exp
-
- right Exp
-
Exp
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))