Finding Your Way with GpsDrive

Lots of tools can plot your position on a map, but this one displays your friends' positions, enables multiple map sources, and more.
Using GpsDrive

Now that you have some maps, it's time to play around with your new toy.

GpsDrive is well supplied with tool tips, so we only cover the highlights of the display here.

Right below the map in the main window, GpsDrive displays navigation data. Distance to the next waypoint and current speed are obvious. To the right of those is some information on waypoints, mobile targets visible on your friend's server, and the current time according to the GPS receiver.

To the left of the distance to waypoint display is GPS information. With no GPS, a rotating globe is shown. When a GPS is present, the globe is replaced by a signal strength meter for visible satellites. Its background is red if there is no fix; green if there is a fix.

To the left of the GPS data is a compass. The top of the compass indicates your current heading or the course you are sailing. The black pointer gives a bearing to the next waypoint.

A lot of settings are handled in the Preferences menu, which you can select from the left side of the main window. You already know about selecting your units of measure. If you are operating with an older computer, you may want to limit the amount of CPU time GpsDrive takes up, and turn off shadows, which require extra processing to draw.

In the second settings tab you will find some GPS-related settings. For example, you may elect to have GpsDrive access the receiver directly instead of through gpsd.

The SQL tab lets you select certain types of waypoints to include or exclude from the display. This lets you organize waypoints into categories and decide which ones to display. I use this with a set of waypoints for my preferred gas station chain. I can turn them on or off on the display, depending on whether I am looking for gasoline or not.

Once you have maps in hand, there are several controls you can use to manipulate them. For areas where you travel a lot, you probably have maps of several different scales. There are several ways to select between them. The first is to check Auto best map in the lower part of the left menu. This tells GpsDrive to select the best (largest scale) map available for the current location.

Below that, right above the area map, you can check on street or topographical maps, or both. With both checked, GpsDrive moves between the two types, which gives you the most coverage for the maps you have.

Turn Auto best map off and you have several ways of selecting scale. In the upper-left area of the main window, you will find two arrows. Click on the left arrow to move to a larger-scale map, on the right to move to a smaller-scale map. You also can move the slider on the very bottom-right side for the same effect. This sets the preferred scale, and GpsDrive stays as close to that scale as it can.

Within a given map, you also can zoom in and out. Use the two magnifying glass controls on the upper left of the main window. The current magnification is indicated in the upper-right corner of the main map. GpsDrive keeps the same level of zoom when it changes maps, which can be disconcerting.

First, make sure you have waypoints turned on and that you are using SQL or not, as appropriate.

There are several ways to set waypoints. You can hand-edit them into the text file or MySQL database, you can use the program gpsbabel to convert from other file formats or you even can download them from Wayhoo.com.

In position mode, you can enter a waypoint at the current position by pressing the X key, or you can enter a waypoint at the current mouse pointer with the Y key. You always can edit the parameters before you commit the waypoint.

Wardriving with GpsDrive

Wardriving is the sport of driving around searching for Wi-Fi access points. For more, see the article “Discovering Wireless Networks” in the September 2003 issue of Linux Journal.

Got Friends?

GpsDrive comes equipped with a friends server. This lets several people display each others' positions on their systems. You can run your own, or you can use any one you can find on the public Internet. This is real-time plotting of multiple vehicles' positions. This makes GpsDrive a great adjunct to a car rally or search-and-rescue mission.

If a user falls off the Net temporarily due to Wi-Fi signal loss, the user's last known position is displayed. Once he or she is back on the Net, displays are updated in seconds.

Missing from GpsDrive

About the only thing missing from GpsDrive is street-level routing. To do this, the program needs an open source of street-level data. Commercial data usually runs in the area of 10,000 Euros, which is a showstopper. If you know of such a data source, please let the author know.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

gpsdrive street level routing data

George Beranek's picture

Wouldn't the files freely available at
http://roadmap.digitalomaha.net/maps/ provide an open source of street-level routine data?
see also:
http://roadmap.digitalomaha.net/maps.html
http://roadmap.digitalomaha.net/

gpsdrive street level routing data

Tim's picture

Nice if you live in the US! Here you have to pay for those sort of maps.

http:/www.openstreetmap.org has a project running to produce free streetmap data & it needs gps tracks and people with local knowledge. Please take a look to see how all of us can help by working on where we live, work or visit.

How to load the nasa map?

Anonymous's picture

I've read the README, but I can't seem to get the nasa satellite map to load. Maybe a bit of help from you (since you got it to work) would be valuable for people reading this article. These are the steps I took:

1. Downloaded MOD09A1.E.interpol.cyl.retouched.topo.3x21600x21600.gz
2. gunzipped it, and moved it to ~/.gpsdrive/nasamaps/top_nasamap_east.raw
3. Start gpsdrive, and "misc menu" -> "maps" -> "import map"
4. I've tried various combinations of coords and screen x/y values, but every time I "browse filename" during step 1, I get a "mapfile could not be loaded".

This is using gpsdrive 2.09 _without_ a gps receiver attached... just in simulation mode. Thanks in advance for any suggestions.

w2222222222

phong's picture

i want to get maps to study

This is APRS like.

n8xja's picture

Well, sort of. This is sort of APRS like. APRS is a ham radio "automatic position reporting system" that has been around for some time now (see www.aprs.net and for an interesting application: www.findu.com). In the bowles of the sites, you can find maps that may be compatable. The main feature aprs has that we don't have here, are that positions in APRS can be sent via ham radio, and there are other thing aprs will do such as 2 way messaging, and that arps is also suitable to aid in disaster situations. I am not saying that one is the better than the other, rather, both has had some good development and both systems may be able to benefit from the work already done on the other.

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix