MAPWELT MANUAL

MapWelt was written with the intent of being used on PDA's or smartphones. But because it is written in a language (TCL) that is ported to a large number of platform, it also runs on these platforms. This is quite usefull since things like map making, calibrating, editing of waypoints etc is quite hard on PDA's because of their limited methods of input and small screens. Preparing maps and waypoints is best done on a 'normal' pc, and then transferring the data to the PDA. MapWelt stores its data in two databases:


First time startup

If the program is started for the first time, it will automatically create a number of files in the working directory. These files will hold preferences, settings, waypointdata and a demo file for translation of MapWelt. Furthermore a small demonstration map is created which is automatically loaded at startup. Initially the program is setup to read GPS data from an included file. To see the demonstration, push the sattelite dish (third button) or select File|GPS.

Normal Startup

If the program is started, it will automatically load the map of the previous session. By default the program does not start reading the GPS device, so to start this, press either the sattelite dish or, from the menu select File|GPS. But make sure that your GPS settings are correct, see gpssettings

In the topleft, the speed (km/h) and travelled distance is shown (If there is an active waypoint, the speed and distance to the selected waypoint is shown). This part is also used for showing the description of a (selected) waypoint. The two numbers right from the buttons are the number of sattelites used for the gps positioning and the corrected altitude (If the map file has a HeightCorrection entry). The second line shows the lattitude and longitude, and the travel direction. If routing is on, a fourth number will shown giving the direction of the active routing point. The last number here is the time received by the gps.

Map

Buttons:

The map area has several methods of interaction. If the fingerbutton is pushed, any touching of the map will activate the finger menu.
If the finger menu is not pushed, but the cross is (centering on GPS position),  you can tap and hold on windows mobile or rightmouse button on windows, to activate a menu:

Your present location on the map is shown by the tip of red arrow. The direction of the arrow is the direction in which you are moving.
If you tap on a waypoint, the description of the waypoint will be shown in the speed/odometer section. Furthermore a popup menu will be displayed with more details, and the option to set the point as active point for routing.

If the map is locked to the gps, you can also use the direction key of the pocketpc (the little joystick) to move the map. After approximately 5 seconds, the map will jump back to the gps coordinates. I use this to have a quick peek at unexposed parts of the map. Also if you press enter (the key in the middle of the direction keys, or the joystick itself), the program will jump to the active waypoint (if this is on the map). Again after 5 seconds it will jump back to the gps coordinates.
If you tap on a waypoint, a menu will appear, with data about the waypoint, and the option to use the waypoint in navigating.

Menu's

File

View

Map

Waypoint

Help

Map Calibration:

Select Map|Calibration:

Details

The first line shows the currently loaded map, and just below is its scale (meters/pixel).

Here one can make a new map, or edit an existing map. A map consists of an image, its projection settings (that is how the image is distorted), and its calibration (giving the gps coordinates for several image positions).
With the LoadImg button a new image can be loaded. Using this will NOT result in a tiled map, but will load the image completely in memory, and if this map is saved will result in a .map file describing the mapcalibration. This should not be used on pocket pc's, since loading the image completely will use too much memory. The preferred method is to first create a tiled map with the image2maps program, and calibrate this map in MapWelt (first load the tiled map, and then go to this screen).
The projection and its parameters is usually the most tricky part. Sometimes it is given on the map.
The calibration of the map can be done with 1 to 3 points. If you manually edit MapX, MapY, Lat or Lon positions, you should press one of the Ref1&Dist, Ref1&2 or Ref1&2&3 buttons after the edit. For the first point you should press Ref1&Dist etc. The edit will only be effective after pressing one of the Ref... buttons. Note that Map X and Y coordinates should be entered in the 'computer standard' form where the top left pixel is 0,0.

The calibration points are used to determine the scale of the map, its rotation, and with three points also the difference between the X and Y scale. If only 1 calibration point is available, the rotation is assumed so that North is Up on the map, and the scale will be calculated from the fields in DistPixels and meters. Maps often have a scale printed besides them where one can read this information.

The last entry in this window is the Border. Here one can define the border of the map. This is a list of X Y coordinates (minimum 3 X and Y's) which define a border. If the GPS signal moves out of this border, a different map will be loaded. This can be used with for example scanned maps that have a white unprinted border around the image. Note that Map X and Y coordinates should be entered in the 'computer standard' form where the top left pixel is 0,0 and right is +X and down is +Y.

The calibration can also partly be done on the Map Tab, see Map.
You can also make a map without an image by pressing NoImg. The program will then use the present GPS location as a starting point of your map. If you move out the initial map, it will automatically be expanded. The scale of the map will be calculated from the DistPixels and meters fields. If the trace is switched on, you will at least see a map of where you have been.

Some more information about the calibrating of maps is give in Maps


WayPointSeries

After selecting form the menu Waypoints|Waypoints, a table is shown which displays all the tables in the waypoints database, and each table in the database is a route or track or set of waypoints. Here one can select whether a set should be displayed, used for routing, whether it should be included in the actions, and set the maximum scale at which this set should be displayed, and how many points of this series should maximally be displayed. The last two options can be used to prevent drawing of very many points on for instance a world map. Here one can also import or export waypoints in GPX-format or show the statistics of a track.


waypoints

Waypoints

Shows a table giving the information for each waypoint/routepoint/trackpoint.Lattitude and longitude are in decimal degrees, and north and east are positive values, south and west are negative values. Lattitude and longitude values are required, the other values are optional.The value for sym will be used for display. If there is a GIF file in your wptimg directory with the same name as in the sym column, than that image will be shown at the waypoint location. If no waypoint image is available, the program will show the waypoint as WNNN (where NNN is the waypoint number). The action column can be used to assign an action to a waypoint. If this waypoint is approached, the action will be performed. At present the only action is "playsound wavname" where wavname can be any wav in the sound directory. Wavname in "playsound wavname" should not have a wav extension. If the action is defined, then the dist field should also hold the distance (in meters) at which the action should be done.

The easiest method to edit large numbers of waypoints, is to select the points from the table, and copy&paste them to a spreadsheet, edit them in the spreadsheet, and paste them back in the table.

All waypoint data is stored in the mapwelt_settings.db3 file in the same directory as the program. This (sqlite database) file has only information about waypoints, and can be transferred between different devices. It is more convenient to import/export/edit on a regular pc, and to transfer the mapwelt_settings.db3 file to the mobile device then to do this on the mobile device itself.

mapwelt_waypoints



mapwelt_prefs

There are of course much more settings one might wish to change, but giving them all a gui would give me much more work, and lead to a very cluttered program. Therefore all settings which I think people might want to change can be set in mapwelt_prefs.tcl. The supplied mapwelt_prefs.tcl should give an idea of the possibilities. The file can be edited with any editor (eg notepad). The file is not required. If there are errors in the file, only the items upto the error are set (but no error message is displayed). Note that a faulty mapwelt_prefs.tcl might be processed correctly, but generate errors during the use of mapwelt. If you want to check whether the prefs file was loaded correctly, have a look under Help|Console.

Translating

MapWelt be translated to virtually any language. This is done via *.msg files. The US english file (en_US.msg) is automatically placed in the mapwelt directory as an example and starting point.To create for instance a german translation, copy en_US.msg file to de.msg, and change all lines beginning with mcset en_US to mcset de, and translate the second string. So

mcset en_US "Color" "Color"

should become

mcset de "Color" "Farbe"

Most languages also use non-ASCII symbols, these should be represented as Unicode

mcset de "About" "\u00dcber"

will show the text Über

Lacking


There is no datum conversion. Initially it was planned to do something for datum conversions, but the subject proved to be far more complex than originally anticipated, and also I am not sure whether it is really required as long as you calibrate the map with the same datum as the gps receiver, and not the datum of the map. There will be some distortion, but my guess is that it is quite limited. There are many other programs available which can do datum conversion.