Zero Knowledge range proof I like the idea of a Zero Knowledge range proof. But I read that, to prove my age in a range, a commitment is required by a trusted party (TP) stating my age. How does that work? is the commitment a certificate from the TP?

Also, if I need a user “A” to prove to the verifier his current location (longitude, latitude) in a range without stating the exact location, can the zero knowledge range proof be helpful in that problem? Who should commit to that secret (in This case, user “A”'s current location) so it should be accurate? Can the TP be a trusted timestamped service or Google?
Yes, you need a commitment. The commitment comes from anyone who is trusted by the verifier to commit to genuine data. So to prove age, the date of birth, say seconds from epoch could come from a government issued ID. In case of lat-long, a location provider trusted by the verifier should be used so if verifier trusts Google.

There is vast literature and implementations and they provide varying guarantees like if you provide a proof to the same verifier twice but use the same commitment, the verifier will know that he has interacted with you before or not. Depends if you care about this or not. Regarding how they work, there are several techniques, a recent and popular is Bulletproofs. Another is this paper.