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.
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?
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.
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...
Last edited by l1nk; 04-01-2011 at 12:22 PM.
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!
My GoogleMapsTrack do that
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.
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.
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
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
I think that the best way is to use the Google API 'reverse-geocoding' into a plugin or a autoit script :
geocoding-reverse.html
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
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
I know, but l1nk don't say that he don't wan't use internet for that :-)
Bookmarks