Tbh that sounds like a fun project for an app or something, as a backup to gps in case it’s jammed. Just lay your phone on the ground, take a long exposure picture and then use the phones time to calculate where you are. Might need to take the accelerometer into account if the ground isn’t flat.