HOME

EXAMPLES TOC

1. HOW TO GET STARTED, THE VERY FIRST TRY

2 . IMPORT MAPSEND ROUTES AND TRAILS

3. IMPORT ESRI SHAPE FILES (APPALACHIAN TRAIL)

4. IMPORT OZI EXPLORER ROUTES (CREATE OBJECTS FROM PHOTO IMAGE)

5. IMPORT GARMIN MAPS (MEXICO CITY MAP, SIMPLE EXAMPLE)

6. IMPORT GARMIN MAPS (SAINT_PETERSBURG MAP, MORE COMPLEX EXAMPLE)

Examples

1. How to get started, the very first try

There are several simple objects (lines and polygons) in the SAMPLES folder of the AddMagMap. The objects are located in Central Africa at the equator.

  1. Close all MapSends (if opened). Run AddMagMap. In the drop-down list at the top-left you will see all MapSend programs installed on your computer. Please select the MapSend application where you would like to add the objects. After selection of the MapSend “MapSend structure analyzing” progress bar will be shown (during this time AddMagMap analyzes structure of the database, paths, collects drawing types and other information to be used for map creation). In several second dialog disappears and the other control becomes enabled.

 

2. Push the button , Map dialog appears. Push OK button ( ) (in this example we will use -180 – 180; -90 -90 (all world) bounding rectangle and the default “NewMap” name. “NewMap” will be shown in the drop-down list with the green square at left (green square indicates that map is defined but not yet exist in the MapSend). The range of the map can be checked by placing the mouse cursor over this drop-down box.

3. Click menu “File”-“Import File”-“Line”; “Open File Dialog” appears. Browse to the SAMPLES folder. Select “Column ASCII text (*.txt)” from the “Files of type” drop-down list and select “line_1_2.txt” file.

Selected file appears in the AddMagMap grid:

In the first column there is a file name; in the second is a type of the imported file (line, area, point). In the third column there is “Nothing to select”, this mean that for this format there is no additional control for object selection. The 4th and 5th columns show “Please select”.

5. Double click cell in the 4th column (Layers). You will see all available layers for this specific MapSend (empty boxes denote selectable items of the line type, the layers where the object of this type can not be exported are marked with red crosses (areas)). Select desired layer. In this example (MapSend Topo US) we select the “Streets” layer. Labels will be placed to the “Roads” group and the object will follow the properties of the “Streets” layer in the receiver (i.e. will be drawn by solid thin line and will be shown in the range of zoom specific to this layer).

6. Double click to the 5th column (“Draw Type”). Select one of the drawing types (shown in the insert at the bottom). Drawing types can be selected from used in this MapSend maps (select the map from the drop-down list at the top) or from all types defined in this specific MapSend. To select from any type push the green arrow at right.

Let us select “line type 28” – black line used for the roads.

7. Click “Create Map” button. Answer “Yes” to the “New map “NewMap” will be created. Proceed?’ After some progress indication the “Done, no errors detected” message appears if everything went OK.


8. Click the (Launch MapSend). MapSend will be opened. Go to menu “Search”-“By Name”. Search window will be shown. The very last map in the list is just created “NewMap” , select “Roads” (the group where “Streets” layer is). You will see 2 objects with the labels “Line1” and “Line2” defined in the “line_1_2.txt” file. Click to any of the labels. The objects will be shown on the map (two sine lines)

 

Close MapSend manually or click (Close Mapsend) button.

Note: Red square appeared at the “NewMap” name in the drop-down list indicating that the “NewMap” is already created and included to Mapsend.

When the map was created the “Original” restore point was saved automatically (it happened at the very first map creation), one “Step back” was also saved. If you like you can restore MapSend to its original state by either click to “Step back”, or “original” restore point (at this step they do the same, because only one map was created).

Let us continue this example without any restore or step back.

Try with more objects. Add them to the NewMap (since we add them to the existing map no map definition is needed , the objects will be added to the map shown in drop-down list ("NewMap" in this example)::

In the example we added many objects of both line and area type in one step. (In the SAMPLES folder files with *.csv are “Row ASCII type”, *.txt are “Column ASCII type”, *.wpt is a “MapSend route file”). In this example 8 lines (since each sample file contain 2 lines, and we already created 2 lines at the previous step) will be in the “Roads” group, 1 area will be in the “Hydrography” group and one object will be in the “Park” group. Lines_9_10 will be shown on the map, but will not be included to any search group on PC, because this specific MapSend (Topo US) does not include the “Railroad” group to the search list (but they will be included to the Railroad group in the receiver). The object behavior is exactly the same as for all other MapSend objects, zoom appearance, groups, etc. The behavior depends on the specific MapSend.

Note: at the zoom level shown, lines 1,2,3 and 4 are not visible (streets, trails). They will be visible at higher zoom. The layers visibility properties are set in dependence on specific MapSend (Topo US in this example)

Now “Step back” contains two records: first for the first run and second for the second run. To get back to the original state “Step back” should be clicked twice, or “original” restore point should be clicked once. If the “original” restore point was clicked, the 2 “Step back” operations will disappear because with “original” we erased all custom maps.

We created NewMap with the -180-180; -90 – 90 (all the world) bounding box, with this setting the accuracy at the equator is about 15 m. With smaller map the accuracy will be proportionally higher.