Hi,

As in the example of the previous answer your first query works if you 
replace NEAR with WITHIN.
And to solve your problem try this:

select expand($c) 
let $a=(select from BBB where [lat,lon] WITHIN [25.3648,85.3154]),
$b=(select * from BBB where [lat,lon,$spatial] NEAR 
[25.3647,85.3153,{"maxDistance":10000}]),
$c=difference($a,$b)

Regards,
Michela

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to