|Jan Poland → Software → LightMap|
LightMapThis is a software for displaying small-scale maps, together with waypoints and tracks downloaded from a GPS receiver. Waypoints can be created, edited, and uploaded to the GPS receiver.
This software has been developed and tested with a Garmin eTrex GPS receiver. It might work with other GPS receivers, in particular if you adjust the scripts used for communicating and/or the software. Please also compare the section problems below.
This is for small-scale maps (e.g. 1:25000) only! Each map is equipped with the geographic coordinates of the upper left and lower right corner, and all coordinates in-between are calculated by linear interpolation (not valid on large-scale maps). LightMap can be used e.g. for the offline planning of hikes, biking tours, etc.
Operating System: LightMap is implemented under QT and therefore can be compiled where QT is available. It has been tested for Sharp Zaurus and Linux. It should run on other Unix systems and Mac. Please see below for Windows.
Interfaces: The user interface of LightMap exists in two versions. The standard one is intended for usual computers, while the light one, which is optimized for a small screen and low memory consumption, has been designed for the Sharp Zaurus (and possibly other PDAs). The above screenshot shows the standard version. The light version is optimized for the small screen of the Sharp Zaurus and therefore adds the buttons to the menu. Also, it runs in full-screen mode.
Installation of the standard version: Please make sure that gpspoint by Thomas Schank is installed. This is necessary for up- and download of waypoints and tracks (probably you can also use a different software, if you modify the communication scripts). Also make sure that QT3 is installed. Then download the LightMap sources and unpack them into a directory, compile them by typing ./build-qt, and put the resulting binary to a place of your choice. Also put the three scripts upwp, downwt, and downwp from the connect subdirectory into the path of your system and make sure that they correspond to your setup (ports etc.), such that they can be used to communicate with your GPS receiver.
Create a directory ~/lightmap (~ means your home directory) and subdirectories res and maps. The latter directory will be referred to as the maps directory. Place the resources from the subdirectory res of the sources into the just created ~/lightmap/res directory. In the maps directory, you need to create a subdirectory for each map collection you want to install. Here the example maps/fujisan is used for explanation, which I built from maps from the Japanese Geographical Survey Institute (however the full maps are not reproduced, since they are copyright). Each such collection directory (e.g. maps/fujisan) contains the following files:
Installation of the light version on Zaurus: Here you can find gpspoint for the Zaurus, please install it. Then download the LightMap IPK and install it on your Zaurus, or download the sources and compile them by using an appropriate cross-compiler and typing ./build-qpe. The rest of the installation is similar as above, with a few differences. The maps now go into ~/lightmap/map1/..., so it is recommended to set a symbolic link to somewhere with enough space if necessary (e.g. on a SL-C1000, you may set a link to your SD card). The space issue is important on a small PDA as the Zaurus, so the IPK does not contain the example maps, you have to install them by hand!
The maps have to be cut into pieces before the light version of LightMap can use them (already done
for the map1/fujisan example). This can be done
e.g. by installing them first to ~/lightmap/maps/... and then use the
Octave script cutmaps provided with the
sources. The current cutmaps script cuts the
maps to fit onto the 640x480 screen of the Sharp Zaurus C1000 and C3x00. If you need a different
resolution, please modify the script.
As the Zaurus is quite slow, this is preferably done
on a usual computer. E.g., to cut the maps of the maps/fujisan example, type
Using LightMap: This is hopefully intuitive :-), so here is just a short overview. Please compare the above screenshot. Maps can be displayed in three zoom levels, this corresponds to the top three buttons on the left of the screenshot. If a waypoint is marked (the pink one on the screenshot), it can be renamed with the button "N" and removed with the button "X". Please note that the waypoint symbol, selectable within the rename dialog, is not displayed within LightMap, but transferred to the GPS receiver and displayed there. The bottom-most button hides the waypoints and tracks in the detail view. In the detail view, clicking on a waypoint marks it, and clicking on a space without waypoint adds one. In the other views, clicking on the map zooms in. Finally, waypoints can be up- and downloaded to and from the GPS receiver. To this aim, the scripts upwp, downwt, and downwp are used.
LightMap on Windows: As QT3 is available for Windows, LightMap compiles on Windows. The sources include a batch script build-qt-win.bat for this, you have to adjust the settings in setenv.bat to your installation. I used MinGW as a compiler. However, although I succeeded to compile gpspoint using MinGW, I did not get it to communicate with the eTrex so far. As there is other software with the same purpose of LightMap available for windows, e.g. GARtrip by Heinrich Pfeifer, it is probably easier to use one of those programs. If you still want to use LightMap on Windows,
Disclaimer: I created LightMap for my own needs. I published it with a minimum of efforts, since I was not aware of another software for the Sharp Zaurus that offers these features. Probably LightMap will not exactly fit your needs (for instance it is not dealing with routes at the moment). If you miss a feature, feel free to add it yourself. Also, I can of course give no warranty of any kind.
Problems: I have only tested the software with the basic eTrex receiver. I therefore don't know how it behaves with other eTrex variants. One detail I suspect not to work correctly are the waypoint symbols, as different eTrex receivers seem to use different sets of symbols.
License: LightMap may be freely obtained, modified, and redistributed under the terms of the Gnu GPL v2.0 or later.
|Disclaimer||Last update: Fri Mar 9 05:09:33 2007 GMT by Jan Poland, Page = "LightMap"|