1. billybob00's Avatar
    Is there a way to get the current GPS coordinates on the command line? I'm trying to write a simple shell script to do stuff based on my location.

    I'm aware of "erica's utilities", but it doesn't seem to work (I get a segfault). Are there any other ways?
    2013-01-13 02:36 AM
  2. King_O_Hill's Avatar
    Most people use the "myLocation" app.

    You can find it in my signature.

    There are ways to do it through a server, but I think this will work out for you. Just let me know if this doesn't work for you. It will create a txt file in the documents folder with just 2 lines in it:

    Lat 12.34567
    Long 12.34567

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-01-13 05:27 AM
  3. billybob00's Avatar
    Is there any way that I can run it once via a shell script so it doesn't run continuously in the background?
    2013-01-14 08:58 PM
  4. King_O_Hill's Avatar
    If it doesn't run continuously, then what's the purpose? It is very light on battery and resources if you only have "sig change" turned on. It needs to run so that as you change location, it will update your position.

    There is another way to do it by setting up a GPS web server. This method is a little involved and would require some software DL from Cydia.

    Let me know what you are interested in, and I will point you in the right direction.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-01-14 09:21 PM