Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Proposed Web Service: Simple Location Service

  1. #1
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494

    Proposed Web Service: Simple Location Service

    This would be a simple service to upload some basic GPS information.


    Code:
    update(string usersessionhash, double lat, double long, double speed, double heading, int altitude)
    Speed should probably be in standard m/s which is what NMAE reports in (i think?). latitude and longitude are in decimal format.

    I propose we get this one working the soonest since its easy and we can at least show something in the web frontend that will be useful.

    Matt, do you think you could write the non-user-account-dependant version of this? I can write the client assembly and linux client part and hopefully we can get some ideas for the web frontend as well.

    UPDATE: added altitude and heading.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  2. #2
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    How about adding altitude?

    Code:
    update(double lat, double long, double speed, integer altitude)
    update(string usersessionhash, double lat, double long, double speed, integer altitude)
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  3. #3
    North of the land of Hey Huns
    Auto Apps:loading...

    Join Date
    Jun 2004
    Location
    Westminster, MD
    Posts
    2,127
    And heading!
    "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
    RevFE
    My Shop

  4. #4
    fka - Nextabyte_Matt ioi8's Avatar
    Join Date
    Apr 2006
    Location
    Cleveland
    Posts
    125
    Its not possible to write this without some sort of user account. Otherwise its gonna be a DB full of records with no meaning whatsever. I will accept a userID to begin with, and then upgrade to sessionkeys or userpasshash or whatever we are gonna use.

    Otherwise than that, pretty easy service and web app.

  5. #5
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    That's a good point. We need some method of doing this while keeping some anonymity. Perhaps by ipaddress?
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  6. #6
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    443
    How about supporting location detection via both gps and / or some network / cell service?

    My HTC cellphone is able to figure out where I am based on the network it self (I'm guessing it uses the phone network to pinpoint the location). I'm assuming a lot of people are using cellphones to get internet access in their cars, so it should be possible to use the network to provide a location.

    On my phone this is used to give me the weather forecast for my actual location at all times.

    I don't know if these kind of services provides gps coordinates or just a "location". I'll do some google'ing and see if I can dig something up if it's interesting.

    Edit: Found some info about this here: http://radar.oreilly.com/2009/02/goo...-location.html
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  7. #7
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    I thought most of the inferred location stuff was done using a proprietary database of hotspots. It's not a bad idea if there were a way to get the information. From that article (which is about a year old now), it doesn't seem like there is an API for latitude so it would be difficult to determine location.

    Nevertheless, that can always be added to the service itself. Right now, the service simply recieves and records the GPS information. Later on, it could add network or cell information if it was available.

    We're just looking for a quick 'win' to show what OSDash can do for a connected mobile user.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  8. #8
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    443
    Quote Originally Posted by Bugbyte View Post
    I thought most of the inferred location stuff was done using a proprietary database of hotspots. It's not a bad idea if there were a way to get the information. From that article (which is about a year old now), it doesn't seem like there is an API for latitude so it would be difficult to determine location.
    I did find this info : http://code.google.com/apis/gears/ap...tml#getCurrent

    Just though I'd add it for future reference.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  9. #9
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    there is an app on linux called geoclue that does location based on your IP address, gps coords, or even GSM. The client *could* use something like that and report it up to the server as lat/long coords. It wouldn't be as accurate as gps, but it'd work.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  10. #10
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    cell phone triangulation uses the location of the tower you are connected to to provide you with a relative location. accuracy is usually about +-1 mile so it certainly couldn't be used for anything navigation related but would work fine for LBS (but not this type of service).

Page 1 of 3 123 LastLast

Similar Threads

  1. Proposed Webservice - Proximity Web Control
    By ioi8 in forum OSDash - Web Services
    Replies: 7
    Last Post: 12-29-2009, 04:54 PM
  2. Open GPS-Traffic Link Web Service
    By tripzero in forum Software & Software Development
    Replies: 0
    Last Post: 07-14-2008, 03:39 PM
  3. New web hosting service! A must see to believe!
    By Genesisfactor in forum Off Topic
    Replies: 2
    Last Post: 12-23-2006, 01:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •