Hi,

With this query:

select from BBB where [lat,lon] WITHIN [point,point]

you will have, all the results that have exactly that latitude and 
longitude.

Instead with these two:

select * from BBB where [lat,lon,$spatial] NEAR [point,point,{"maxDistance":
kms}]
select *,$distance from BBB where [lat,lon,$spatial] NEAR [point,point,{
"maxDistance":kms}]

you will have all the results that have exactly that latitude and longitude 
plus all those that are close within a certain radius of kms.

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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to