This project has moved. For the latest updates, please go here.

Using A Custom Map in FT Analyzer

In order to use a custom map on the Edit Locations map you need to have the maps saved as "Georefererenced" TIFF files. This means a few conditions need to be satisfied:
  1. the file must be a TIFF format graphic file
  2. the file cannot be a pdf or any other type of file
  3. the file must contain information that tells the program where to display the map (georeference info)
  4. the files to display must all be in the same directory
It is unlikely that any scanned map you have has the extra info that tells Family Tree Analyzer how to display it on screen. Basically the file needs to know how a point on the scanned map file relates to a point in the real world. If you do have georeferenced files all you need to do is to tell FT Analyzer where the files are in the Tools | options menu under Mapping Settings. The program will then load then when you click on the show custom map overlay button.

If you have a scanned map file you can add georeference info yourself although it takes a bit of patience and needs a free program.

The basic steps are:
  1. load your map into a GIS program
  2. load a reference background map - eg: Google Maps
  3. mark 5 or 6 points on your scanned map then link them to the identical point on the reference map
  4. run the georeferencer
  5. save the file including the georeferenced info

The Detailed Steps
  1. Download QGIS from http://www.qgis.org/en/site/forusers/download.html
  2. Install OpenLayers Plugin
    1. Click Plugins Menu and select Manage and Install Plugins
    2. Select Get More and scroll down to select Open Layers Plugin
  3. Once Open Layers plugin is installed then load the background layer of choice
    1. Click Plugins Menu and select Open Layers plugin
    2. Select a background layer eg: select Add Google Physical Layer
  4. Now prepare your scanned map
    1. take the scanned map and using a graphics program trim the margins to remove borders, grid numbers, legends etc. Suitable graphics programs are:
      1. Paint.Net http://download-paint.net/
      2. ImageMagick http://www.imagemagick.org/script/index.php
      3. Irfanview http://www.irfanview.com/
      4. GIMP http://www.gimp.org/
    2. Save the trimmed map as a TIFF file this is vital it cannot be a JPG file or other graphic format.
  5. Now load the trimmed map into QGIS
    1. Click Raster Menu and Georeferencer in the Georeferencer popout - The Georeferencer window should open
    2. Click File and Open Raster then browse to find your prepared scanned map and click to open it
    3. In the Coordinate Reference System dialog we need to choose the right map system
      1. In the filter box of the dialog type 3857 this will reduce the list in the lower pane to the item you want
      2. In the lower pane select WGS 84 / Pseudo Mercator and click OK to load the scanned map
  6. You should now have two windows open one with the background map and one with the scanned map
  7. Now we begin the process of mapping points on the scanned map to points on the reference map.
What is the Georeferencing Process
The idea is that with several points, at least 5 or 6, mapped showing the exact point on one map that is the same as on the other map then the program can work out how to rotate and stretch the scanned map to fit the real map. For best results spread the points selected across the map eg: near the four corners and the centre, but not too regular - ie: try to avoid points with similar horizontal or vertical co-ordinates. You are trying to get a spread across various points so two similar horizontal points in a row isn't giving that variation.

NB. Choose points on your historic scanned map that will not have moved and are very easy to work out where they are on a modern map.

You are trying to be pixel perfect in placing the points and selecting points on a modern map. The more accurate you are the more accurately the scanned map will line up with a modern map when the process is finished. So it pays to spend time doing more points and precisely placing them.

NB. This is a one off process once you have Georeferenced the map once and saved the result you need never touch it again. It will always then load and overlay on top of a modern map.

The Georeferencing Process (aka placing the points)
For each point you place follow this procedure
  1. Zoom in on your map to as much detail as you can and find a recognisable point that won't have changed in the years between the maps
    1. Triangulation points at the top of hills are great for this
    2. buildings/roads aren't great as exactly where the line is may have changed,
    3. rivers etc are really bad as the course of the river will have changed.
    4. Rocky coastlines that haven't eroded can be good too if its really easy to pick a particular point.
    5. Ideal points are gridlines on a map IF and ONLY IF the lines refer to exactly the same thing. You can then pick a crosshair and know that it exactly maps to the crosshair on the other map
  2. Click the add point button on Georeferencer window (the one with your scanned map) its the 7th button along a gray line with white crosshair and little yellow star beneath it. A window pops up.
  3. Now click on the from map canvass button to go back to your modern map layer in the other window
  4. Find exactly the same point on the modern map (Note you may have to retry this a few times before you get the two maps showing the same area)
  5. Once you click the exact spot on the modern map that was the same as the pixel on the old map then it will load the co-ordinates into the window.
  6. Click OK to save that point a little red dot will appear on the old map and a line will appear in the grid below it

Repeat the above for at least 5 or 6 points. The more points you enter and the more accurate you are the better the results of the Georeferencing process.

Once you have entered enough points you are ready to create your file.
  1. First we backup the points. Click File and Save GCP Points this is so that the work you did isn't lost if you don't like the result you can try more points or delete some bad ones and add better ones
  2. Now we start the Georeferencer by clicking File Menu and selecting Start Georeferencing. Note if this is the first time you have done this it will warn about a "transformation type" and bring up a transformations settings dialog.
  3. All you need to enter here is the path and filename of the file to save click the button to the right of the output raster box and select a path and filename by default it will be called the same as your input file with -modified stuck on the end.
  4. Check that the "target SRS" setting is "EPSG:3857"
  5. You will want to see the result so make sure the "Load in QGIS when done" box is ticked
  6. Click ok to generate the georeferenced map

The program will create the map and show the result in the layers panel of the original form. To see how well its done you want to set the new map to be somewhat transparent.
  1. Right Click on the new layer and select properties
  2. Select the transparency option and move the Global transparency slider to say 50% this will let you see a lot of the background map (NB. the new layer must be listed higher in the layers list than the background if not it will be hidden behind the background)

If all is well and you've been careful to pick the points correctly you should see your new map overlaid pretty much exactly over the top of the modern map.

All you now need is to put the modified tiff files in a directory and in FT Analyzer from the Tools Options menu select Mapping Settings and select the custom maps directory to be the directory the new modified tiff files are saved into. NB. Keep the raw non-referenced files in a different directory otherwise FT Analyzer will try and fail to load these non-referenced files.

Now you can see your map when in Edit Locations. If you click on the little map scroll icon in the toolbar it will load your map at the right location over the top of the modern map. NB. Transparency isn't currently supported in FT Analyzer.

Last edited Nov 19, 2013 at 2:24 AM by Levva, version 8