sqlite3.exe is installed in app.path and the dll into system32.

gpsbabel.exe and gpsbabelgui.exe are installed in app.path and the dll into system32.


File menu item 'Create blank MM db' will create a new database with just the default MM
categories. 

On the initial (and arguably the only necessary) screen there are two areas that need input: 
'Setup' and 'POI Input Path'.

The minimum information needed will be the path of a sqlite3 poi databasethis will then allow
'File->Database Operations' to be accessed - more on this later.

Normal use would be to enter both the database path and a path to a poifile.

this version of Poi_Loader will silently convert garmin_poi(.csv), tomtom(.ov2), geocache 
location files(.loc) and gpx(.gpx). 

'Display/Edit GPX' will open the gpx file referenced in the 'GPX Input Path' ( This is the 
translated file and will be the filename of your poifile with .gpx extension ) in notepad. 
It is sometimes necessary to edit gpx files translated by gpsbabel, punctuation 
ie '& (apostrophe,ampersand) etc. may be represented as "&apos;" or "&amp;".

The above paths can be any path accessible to the filesystem therefore the 'db' path for 
instance can be your usb mounted 'SD' card on your tablet. 

            *Note: It makes sense to work on a 'db' copy. No guarantees are given with this
                   software.

     In this version ( and any/all future versions ) GPX files are used slightly differently.
The program converta a waypoint file using gpsbabel to GPX it will contain a waypoint for each 
'poi' and will generally look something like this :-

<wpt lat="50.144860000" lon="-5.492770000">
  <name>The White Hart Inn [Ludgvan]            Tel  01736 740574</name>
  <cmt>The White Hart Inn [Ludgvan]            Tel  01736 740574</cmt>
  <desc>The White Hart Inn [Ludgvan]            Tel  01736 740574</desc>
</wpt>
        .
        .
        .
        .
        .

This version of Loader uses an extra tag pair <sym></sym> for holding the Category label for 
MM. ie.

<wpt lat="50.144860000" lon="-5.492770000">
  <name>The White Hart Inn [Ludgvan]            Tel  01736 740574</name>
  <cmt>The White Hart Inn [Ludgvan]            Tel  01736 740574</cmt>
  <desc>The White Hart Inn [Ludgvan]            Tel  01736 740574</desc>
  <sym>Public House</sym>
</wpt>

If the GPX file you specify does not have a category in a '<sym>' tag ( and if it is a converted
file it wont have ) then you will be asked to select from your current categories or create a
new one.

If the file you specify has a single category in '<sym>' tags then you will be asked  
either to keep this category or select a new one. Whichever you choose will be used as the 
category on the DB, creating the category (with a description set to "Please edit this 
description") if it does not currently exist on the DB. 

Whether the GPX file you have loaded has a sym tag or not, a copy of it with category in the 
'<sym>' tag (Changed if you selected a different Category) will be saved to the 'Output Path' 
the filename will be the original filename with '_MM' added.

It is now an option (from 'File->Database Operations') to export your complete poi DB to a 
single GPX file '<temporary space>/DbDump.gpx' (putting the various categories in sym tags)
this file can be imported into your poi.db in one operation creating the categories on the fly.

A good use for this would be to create 'City specific' gpx databases. Load up the database with
poi for a particular city, then dump the contents to DbDump.gpx and rename to city.gpx. 

Also an empty db can be reconstructed by importing a backup dump (you will loose any unused 
categories) and just edit the descriptions to categories ('File->Database Operations'). 



                              Database Operations.

Once you have selected a DB you can select 'Database Operations' from the 'File Menu' this 
will allow you to :-

         'Add New'
         'Delete Selected'
         'Display all' 

with categories and poi, switching between the two with the 'Action' buttons. Where selections 
are required select directly from the listbox before clicking the 'Action Button'. 

Also the individual operations:-
 
         'Edit a Category Description'            need to select category
         'Delete Poi in selected Category'            -----''------
         'Display Poi in selected Category'           -----''------
         'Export Poi in Category to GPX'              -----''------       
                                        to -> <tempdir>/<infile_path>/<infile_name>_MM.gpx
         'Export Full DB to a GPX file' to -> <tempdir>/DbDump.gpx

