Determine geolocation in shell / Terminal on OS X 10.5

command linegeolocationleopardterminal

Is there a way to determine geolocation in shell / Terminal on OS X 10.5?

There's another question, Is there a way to access a Mac's geolocation from terminal?, but it seems to only be concerned with the currently-latest OS X 10.8.

Best Answer

According to Apple Developer documentation, the feature is available from OS X 10.6 or later.

Alternative to hardware-based GPS, how about DNS-based geolocation option for OSX 10.5? May be worth your time to google those.