Hotlinks: Linking Digital Photos to the
map
Prepared initially for the Northwest MapInfo
User Group
John Schlosser, Presenter, November 7, 2000
| Hotlinks | |
| Overview | Use MapInfo Pro as a map-based
index. Navigate to your area of interest then click on the map to launch & display
digital photos, Word documents, Excel spreadsheets, or other non-MapInfo documents. New features in MapInfo Pro Rev. 6 make this easy. For users of MapInfo Pro 5.5 and earlier, there are add-on MBX's such as SGSI's HotPix.mbx. |
| Why hotlinks? (Application ideas) |
|
| In MapInfo Pro 6 | |
| Using maps with pre-built hotlinks | 1. Display the map in a Map window: File > Open Table > "hazmat.tab" 2. Select the Hotlink "Lightning Bolt" tool button. 3. Click on the map to trigger the "hotlink" action. |
| Making your own: Step-by-step | 1. Create or identify a MapInfo map
layer that will be hotlinked: e.g, "HazMat.tab" Usually this is an existing map layer. Often it is a layer of points. 2. Add a "Character" column to HazMat.tab. This column will hold the filename or url for the document you will launch when the hotlink fires, so make it wide enough. Use Table > Maintenance > Table structure then "Add" If unsure about column width, try 40 characters wide. Call this column "HotlinkDoc" for example. 3. Before leaving the "Table Structure" dialog, highlight the "HotlinkDoc" and click the "Hotlink" button. 4. "Save hotlink options to Metadata". 5. Exit the Table > Maintenance menu and type-in the file name or urls for the "HotlinkDoc" column. |
| FAQ | What kinds of documents can
be hotlinked? Lots and lots. E.g., Bitmap images, MapInfo workspaces, MapBasic app's, executable programs, and any document associated with an application (based on its filename extension). Note: Set file name "associations" for Windows using My Computer > View > folder Options > File types. Can I hotlink to web
site url's or fire emails via the hotlinks feature? If creating hotlinks with urls, do you need to
include the "http://" part? How is this feature different from the "HTML
Image Map" tool also included in MapInfo Pro Rev. 6? Can you hotlink from one MapInfo table to another
MapInfo table or to a MapInfo workspace file? When I hotlink to an aerial photo, it appears in
another Window in MS Paint, Photoshop, or Internet Explorer. But I want the aerial
photo to appear as a new base layer in my MapInfo map window? I don't see the Hotlink button in my Layer Control
dialog. If I hotlink to a MapInfo workspace or MapInfo
"tab" file, will this start a second (unwanted) instance of MapInfo Pro? Can I have more than one layer with hotlinks in the
same map window? Can I have more than one field in a single map
defined as a hotlink in the same map window? Can I have hotlinked objects stacked on top of each
other? |
| In MapInfo Pro 5.5 or earlier. | SGSI's HotPix.mbx. |
| Overview | SGSI HotPIX is a MapBasic program that pops-up a picture or map when you click on a point in a map window. The picture that pops-up can be a scanned photograph, a scanned drawing, a vector (line-based) drawing imported from a CAD program, or an ordinary MapInfo map of any kind. HotPIX is written in MapBasic for MapInfo 4 or later. HotPix does not require or use external programs such as IE, Word, or Excel to display the picture or map. |
| Starting HotPix.mbx | Use File > Run MapBasic
..and select SGSI_HotPix.mbx. This adds a "SGSI HotPix" option to the
"Tools" menu. Select the new "SGSI HotPix" menu option from the "Tools" menu and start the program. Doing this adds a new button to the "Tools" button pad: the HotPix "camera" button. |
| Using maps with pre-fefined HotPix hotlinks. | 1. Display the hotlinked map in a
Map window: e.g, File > Open Table > "SGSI_Pnt2.tab" 2. Select the HotPix "Camera" tool button. 3. Click on a hotlinked point on the map. Thic causes the picture to pop-up in a new map window.. Use your standard MapInfo pan, zoom and other tools to adjust your view of the picture. Use your standard Windows tools to re-size the window displaying the picture, move the window, minimize or close the window. |
| Making your own: step-by-step | 1. Make a point map table
with specific columns, or add these specific columns to an existing point map file. The
points can have any symbol shape or style. The important thing is that the map table
include two special columns defined and named as follows: Pix_Title Character (40) Pix_Path Character (80) You can certainly have other columns in this table, as well. 2. There should be one point on the map for each "picture" you will pop up. If you have several "pictures" you want to associate with the same place on the map, add several points to this table at the same spot. 3. Fill in the special columns in the point map table. 4. While we refer to them as "pictures" or "images", they can be any kind of MapInfo map layer including raster layers such as scanned photographs and drawings (e.g., BMP, GIF, TIFF, JPEG formats) or vector map layers in the standard MapInfo format (points, lines, regions, text, or combinations thereof). But note that these pictures are expected to already to have MapInfo "TAB" files. A standard MapInfo format point, line, or region map always has one of these "TAB" files. |
| For more information | |
| Hotpix.mbx | Hotpix.mbx is available for sale for $49. It is also normally supplied at no-charge to SGSI customers. More about HotPix.mbx |
| MapInfo documents |
|
| More about what's new in MapInfo Pro 6 | See our opinion-filled description of new features in Rev 6 (and earlier, too). Please call SGSI at 206-224-0800, or upgrade online now. [Please mention SGSI when you upgrade online.] Thanks! |
| Home | Top of Page | Contents | Search | Email SGSI |
[sgs_foot.htm]