0

GPS as User Variable for Query String

Is it possible to get GPS data as a User Variable, so it can be added to a html Query String?

I just received an odd request that might be workable if this is possible, but I don't want to jump through too many hoops if it isn't something that is fairly easy. A quick search didn't come up with anything on the GPS coordinates being available as a User Variable, but often things are there that are not documented.

Thanks!

2 comments

  • 0
    Avatar
    Bright Scripters

    I'm not seeing an easy way of doing that with USB, but if your GPS device could talk to the player via serial port, you could potentially capture the message in a variable. Otherwise, it seems like a plugin would be required.

     

  • 0
    Avatar
    David Herde

    I know that this has been asked for for several years..

    Is there any really good reason that the GPS Lat Lon and Fix information couldn't be pulled and stored in a system variable? The player already collects and uses the GPS coordinates with the standard autorun.brs. If this functionality hasn't been included yet, what would it take to include in the standard autorun?

     

    Seems like a small thing to add.

    That or give access to the gps object (interface) values.

    Thoughts?

Please sign in to leave a comment.