Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: GPS based location Label plugin/functionality

  1. #1
    Constant Bitrate l1nk's Avatar
    Join Date
    Jun 2007
    Location
    Sardinia Island
    Posts
    166

    GPS based location Label plugin/functionality

    Hello all.

    After a long search I'm wondering if exists some type of plugin/functionality of riderunner that allows to put a label indicating the town/street name on some screen of a skin, based on gps coordinates from gps receiver. I remember some similar functionality in old RR version, maybe related to destinator/mapmonkey software?

    In my recent searches on forums I've found something similar based on a text file "zips.dat" but it's limited to US locations. I think that a text file it's a little inefficient in terms of search so maybe a database file (sqlite?) can do a better job! Moreover I'd like to use it in europe so the mentioned zips.dat and related functionality can't help me. I think that geonames.org website could be a good source of informations for every state all over the world.

    So, finally my question: is there a simple way to have the desired result or pheraps it's necessary to write a dedicated plugin?

  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,618
    Think that also came from using FreeDrive another Destinator 3 based program.


    Could do a spin off from my Fuelprices plugin, but it would need internet connection to get the info.

  3. #3
    Constant Bitrate l1nk's Avatar
    Join Date
    Jun 2007
    Location
    Sardinia Island
    Posts
    166
    Thank you En4rcer for quick response.

    It's not clear to me the need of internet connection to get the info. I was thinking to some "service" (a RR plugin?) polling the gps lat & lon coordinates then querying a database to find a match. The database, in a basic shape, contains three columns: LAT, LON, CITY.


    EDIT:
    Read your RRFuelPrices description and found the answer by myself! Your plugin uses an online service to convert the coordinates to zip codes.
    Anyway, I think it can be useful to have a local conversion, just to show some information on your current position (city or street name) without the need to open the gps software. In addition, when an internet connection is available, the info on city name can be used to update informations on petrol prices, weather etc...

  4. #4
    Constant Bitrate l1nk's Avatar
    Join Date
    Jun 2007
    Location
    Sardinia Island
    Posts
    166
    Ok, as far as I can see, there's nothing already done here to solve my need. Oh, not exactly a need but just something I'd like to have on RR

    As a simple exercise I've downloaded some data from geonames website and after a little processing I ended up with a db (mysql) populated by about 20k rows of data. Columns on that db are: (`ZIP`, `CITY`, `PROVINCE_TEXT`, `PROVINCE_CODE`, `LAT`, `LON`)

    Tried a simple query based on the haversine formula just to see how fast can be to look up for a ZIP code on a similar db, starting from arbitrary values of lat&long got on google maps. The query returns a (exact!) result really fast

    Next step may be to write a plugin for RR that uses GPSLAT and GPSLON values to periodically query database and fill a label value with city name or zip.... but as I know nothing of the framework, it's not so easy for me!

    Moreover, I've already ported the mysql db to sqlite file but discovered that sqlite engine have no support for trigonometry, so it's impossible to write a geospatial query!!

    Any advice/help/comment is welcome!

  5. #5
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,839
    My GoogleMapsTrack do that

  6. #6
    Constant Bitrate
    Join Date
    Jun 2010
    Location
    Syd, Australia
    Posts
    123
    I am also interested in an app such as this. My line of thought was more along the path of porting location info (whether it be suburb or street name etc) and print on an external aux lcd in car (along with other real time data such as obd).

    This idea cam from my dad's merc e320 which displays current street name on lcd in dash (from gps) - very handy when looking of an address or something and increases situational awareness.

    Sorry Pierre, I dont see how your prog does this/ Although I may have missed something
    Last edited by mos33y; 04-19-2011 at 09:05 PM.

  7. #7
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,161
    Blog Entries
    51
    I built this feature into RR a few years back using the zips.dat file, but it was limited to the USA only. I've always wanted to expand it but i dont have a source for the data that is reliable and accessible. If you can find the sources it can be added, even via plugin if need be.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  8. #8
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,839
    I think that the best way is to use the Google API 'reverse-geocoding' into a plugin or a autoit script :
    geocoding-reverse.html

  9. #9
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,161
    Blog Entries
    51
    Quote Originally Posted by pierrotm777 View Post
    I think that the best way is to use the Google API 'reverse-geocoding' into a plugin or a autoit script :
    geocoding-reverse.html
    that requires an internet connection. For this to work well it should only be dependent on gps connection.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  10. #10
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,839
    I know, but l1nk don't say that he don't wan't use internet for that :-)

Page 1 of 2 12 LastLast

Similar Threads

  1. location based services (LBS) Double in 2009
    By Fiberoptic in forum Mp3Car Blog Talk
    Replies: 0
    Last Post: 07-09-2009, 09:31 AM
  2. Weather based on gps location
    By tdb30_ in forum Linux
    Replies: 0
    Last Post: 05-24-2009, 08:43 AM
  3. Weather info based on GPS location?
    By jzkbbi in forum Road Runner
    Replies: 10
    Last Post: 11-03-2005, 12:53 PM
  4. newbie question location trigger plugin
    By johnn4711 in forum Centrafuse
    Replies: 1
    Last Post: 04-28-2005, 09:19 AM
  5. Triggering events based on GPS location
    By electron in forum GPS
    Replies: 5
    Last Post: 09-16-2004, 11:57 AM

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
  •