latlong query in kms