There is a open source digital forensics project called APOLLO (https://github.com/mac4n6/APOLLO) -- that could be used for personal use to get location information off your phone. Here's a blog post by the author, with a little bit of explanation:
https://www.mac4n6.com/blog/2019/8/21/i-know-where-you-were-...