You are on page 1of 69

v 1.

1 Product Guide
Information in this document is subject to change without notice and does not represent a commitment on the part of the vendor or its representatives. No
part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, without the
written permission of MapInfo Corporation, One Global View, Troy, New York 12180-8399.
2002 MapInfo Corporation. All rights reserved. MapInfo, the MapInfo Rainbow logo and MapInfo Discovery are trademarks of MapInfo Corporation
and/or its affiliates.
MapInfo Corporate Headquarters:
Voice: (518) 285-6000
Fax: (518) 285-6060
Sales Info Hotline: (800) 327-8627
Government Sales Hotline: (800) 619-2333
Technical Support Hotline: (518) 285-7283
Technical Support Fax: (518) 285-6080
Contact information for regional MapInfo Corporation offices is located at: http://www.mapinfo.com/contact_corporate.cfm.
Contact information for European and Middle East offices is located at: http://www.mapinfo.com/company/contact_europe.cfm.
Contact information for Asia Pacific offices is located at: http://www.mapinfo.com/company/contact_asiapacific.cfm.
Adobe Acrobat® is a registered trademark of Adobe Systems Incorporated in the United States.
libtiff ” 1988–1995 Sam Leffler, copyright ” 1991–1995 Silicon Graphics, Inc.
libgeotiff ” 1995 Niles D. Ritter.
Portions Copyright ” 1999 3D Graphics, Inc. All Rights Reserved.
HIL – Halo Imaging Library™ Copyright 1993, Media Cybernetics Inc. Halo Imaging Library is a trademark of Media Cybernetics, Inc.
Portions hereof LEAD Technologies, Inc. ” 1991–1997. All Rights Reserved.
Portions Copyright ” 1993–2002 Ken Martin, Will Schroeder, Bill Lorensen. All Rights Reserved.
This software uses patented LZW technology for .GIF image compression and/or decompression. (Unisys United States patent No. 4,558,302 and
corresponding patents in Canada, France, Germany, Italy, Japan and the United Kingdom). GIF images compressed or decompressed for transmission via
the Internet or via any other on-line communication capability may not be sold or licensed for revenue, or used by an Internet Service Provider or in paid
advertisements unless the user first enters into a written license agreement with Unisys. For information concerning licensing, please contact:
Unisys Corporation, Welch Licensing Department C1SW19, Township Line & Union Meeting Roads, P.O. Box 500, Blue Bell PA 19424
Blue Marble ” 1993–2002.
ECW by ER Mapper ” 1998–2002.
VMGrid by Northwood Technologies, Inc., a Marconi Company ” 1995–2002 ™.
ImagePro Data used with permission of RSC Group, LLC 2001. All rights reserved.
Portions ”2002 Earth Resource Mapping, Ltd. All Rights Reserved.
Portions of this software are copyrighted by MERANT, 1991–2002.
MrSID, MrSID Decompressor and the MrSID logo are trademarks of LizardTech, Inc. used under license. Portions of this computer program are copyright
(c) 1995–1998 LizardTech and/or the university of California or are protected by US patent nos. 5,710,835; 5,130,701; or 5,467,110 and are used under
license. All rights reserved. MrSID is protected under US and international patent & copyright treaties and foreign patent applications are pending.
Unauthorized use or duplication prohibited.
Universal Translator by Safe Software, Inc. ” 2002.
Crystal Reports® is a proprietary trademark of Seagate Software Information Management Group (Canada) Inc. Vancouver, BC or its affiliates and is
licensed to MapInfo by Seagate. All Rights Reserved.
Products named herein may be trademarks of their respective manufacturers and are hereby recognized. Trademarked names are used editorially, to the
benefit of the trademark owner, with no intent to infringe on the trademark.

MapInfo Discovery 1.1


November 2002
Table of Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
MapInfo Discovery Software Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
MapInfo Discovery System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Using MapInfo Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Server administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Discovery publishers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Web application users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
MapInfo Discovery Documentation Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

The MapInfo Discovery™ Server Guide . . . . . . . . . . . . . . . . . . 7


Chapter 1: Installing the MapInfo Discovery Server. . . . . . . . . . . . . . . 9
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Installation Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Installing the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Upgrading to Discovery Version 1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Uninstalling the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Web and FTP Virtual Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Chapter 2: Using the Discovery Server Administrator. . . . . . . . . . . . 17


Creating a Map Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Deleting a Map Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Chapter 3: Web Application Administrator Functionality . . . . . . . . . 19


The System Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
The MapCategory Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
The User Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
The Help Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Chapter 4: Managing Your Own Discovery Database . . . . . . . . . . . . 23


Step 1: Locate the Database Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Step 2: Copy the Database Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Step 3: Launch SQL Query Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Step 4: Attach MapInfo Discovery Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Step 5: Create MapInfo Discovery Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Step 6: Create a User Account for MapInfo Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Step 7: Switch MapInfo Discovery Server to Use Your Database Instance . . . . . . . . . . . . 34

Chapter 5: Troubleshooting MapInfo Discovery Server . . . . . . . . . . 37


Internet Information Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
SQL Server Authentication Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Email Options Do Not Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Web and FTP Virtual Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Contents

The MapInfo Discovery™ Publisher Guide . . . . . . . . . . . . . . 41


Chapter 6: Installing the MapInfo Discovery Publisher . . . . . . . . . . . 43
Installing and Integrating with MapInfo Professional . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Uninstalling Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Chapter 7: Using the MapInfo Discovery Publisher . . . . . . . . . . . . . . 47


The Server Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
The Map Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
The Layer Options Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Select Server File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
The Side Bar Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
The About Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Web Application Publisher Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

Chapter 8: Map Display in MI Professional and Discovery . . . . . . . . 59


Thematic Layering: Graduated Symbol and Individual Values . . . . . . . . . . . . . . . . . . . . . 59
Layer and Theme Visibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Themes Created Via a Table Join . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Individual Value Theme Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Dot Density Theme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Find Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Custom Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Cosmetic Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Raster Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
ShapeFiles: Longitude/Latitude Bounds Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

Chapter 9: Troubleshooting MapInfo Discovery Publisher . . . . . . . . 63


Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
File Reference to Live Remote Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Side Bar Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Publishing StreetPro Workspaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Marquee Zoom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Recovering Disk Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Errors.log File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64

The MapInfo Discovery™ Web Application Guide . . . . . . . . 65


Chapter 10: Working with the Discovery Web Application . . . . . . . . . . 67
The MapCategory Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
The Map Operations Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

Index 71

iv
Introduction
MapInfo Discovery™ is an innovative way for your organization to share map data and
perform geographic analysis. MapInfo Professional® users deploy their mapping results in
workspaces through a simple wizard-like application in MapInfo Professional®. The mapping
workspaces are stored on a Discovery server, an intranet server, that displays categorized
maps through a Web application. With MapInfo Discovery™ Web application, you can share
dynamic maps through a browser.

MapInfo Discovery Software Components


MapInfo Discovery™ requires MapInfo Professional® and consists of three distinct
components: Publisher, Server, and Web application. The diagram below illustrates the
relationship between these components.
Introduction

Each Discovery component is a resource for a certain kind of user: Publisher, server
administrator, or Web application user.
• Discovery Publisher user – uses Discovery Publisher through MapInfo Professional®
to create and share maps in the intranet environment.
• Server administrator – manages the Discovery server to grant user rights and manage
published maps.
• Web application user – views and interacts with dynamic maps through a Web
browser. The Web application user can perform analysis and make important
decisions based on the data.

MapInfo Discovery System


MapInfo Discovery is accessed through the Map menu of MapInfo Professional®. A
Discovery user enters information about the map into the corresponding Discovery dialogs.
Once this information is complete, the map can published on the Discovery server. Following
this, the map can be viewed through a Web browser.

2
Introduction

The image below gives a more detailed look at the components involved in the MapInfo
Discovery process.

3
Introduction

Using MapInfo Discovery


Read through this section for a brief overview of how to use Discovery. For more detailed
information, read the section of this book that corresponds to your use.

Server administrators
After the Discovery Server has been installed, follow these steps to manage the server:
1. Start the server and create map sources through the Discovery Administrator
program. Access the program through the Windows Start menu: Start > Programs >
MapInfo > Mapinfo Discovery > Discovery Server Administrator.
2. Maintain the Web application by signing in as an administrator at your Discovery
Web site. To access the site, go to the Windows Start menu: Start > Programs >
MapInfo > Mapinfo Discovery > Discovery home page. Alternatively, open a Web
browser and enter "http://<servername>/MIDiscovery/" where <servername>
represents the name of the machine where the Discovery server resides.
3. Distribute the server name information to Discovery publishers.
4. Change the Discovery administrator ("admin") password. For information on
changing passwords, see Chapter 3: Web Application Administrator Functionality.
5. Obtain a permanent license file for the server.

Discovery publishers
After Discovery Publisher has been installed, follow these steps to share your data:
1. In MapInfo Professional®, load your map or workspace.
2. From the Map menu select Send Map To > MapInfo Discovery Server.
3. In the Discovery Publisher dialog, enter the name of the Discovery server and all
other pertinent information.
4. Click Finish to send your map to the Discovery server.

Web application users


1. Obtain the server name (http://<server name>/MIDiscovery) of the Discovery Web
application from your Discovery system administrator.
2. Once you have accessed the Web application, select a map or category and
manipulate it to get the results you want.

4
Introduction

MapInfo Discovery Documentation Set


The documentation set for MapInfo Discovery provides both hard copy and online resources
to help you make the most of this product. The set includes the MapInfo Discovery Product
Guide and Online Help.
The MapInfo Discovery Product Guide is a three-part product guide designed to help you use
Discovery to the fullest. The three detailed sections of the book are:
• The MapInfo Discovery Server Guide
• The MapInfo Discovery Publisher Guide
• The MapInfo Discovery Web Application Guide
In addition to this manual, MapInfo Discovery includes Online Help. Online Help is instantly
available while you are running Discovery Publisher. To access Help while using Discovery
Publisher, press the F1 key or click the Help button for help about a dialog. To access Help
while using the Web client, click the Help tab at the top of any page.

5
The MapInfo Discovery™
Server Guide
Chapter 1: Installing the MapInfo Discovery Server
Use this section to guide you through the installation process. Before installing, make sure
that your system meets the following requirements.

System Requirements
MapInfo Discovery requires the following specifications:
• Windows NT 4.0 with Service Pack 6 (Workstation or Server), Windows 2000
(Professional or Server), or Windows XP Professional
• Internet Information Server (IIS) 4 or higher Web server software (uses port 80 by
default), including MS FTP server (uses port 21 by default). If you wish to take
advantage of the email notification feature of MapInfo Discovery you will need an
SMTP email server for IIS as well.
Note: You can obtain IIS and FTP from the Windows 2000 or Windows XP operating
system CD, or from the Windows NT 4.0 option pack CD, depending on your
operating system.
• Internet Explorer 5.5 with Service Pack 2 or higher
• An active user account on the server with administrator rights
• 400 mhz processor or faster
• 256 megabytes of RAM
Note: MapInfo Discovery uses SQL Server 2000 as its database for accessing maps.
Discovery will install it if you do not have one. If you wish to use an existing SQL
Server 2000 database with MapInfo Discovery, you will need a Microsoft SQL
Server administrator account with create database privileges.

Software Copy Protection


The Discovery server is copy protected and requires a license key. The installed version gives
you a 60 day license. To obtain a permanent license key, refer to the MapInfo Copy Protection
Key Application sheet included in your product package. Once you obtain the permanent key,
stop the server, follow the instructions on where to deploy the key, then restart the server.
Chapter 1: Installing the MapInfo Discovery Server

Installation Scenarios
The Discovery server installation installs the following types of files:
• Web application files (.asp files and Discovery Server engine)
• Database files for attaching Discovery to SQL Server 2000
• MSDE Database Engine (required only if there is no SQL Server 2000 installed)
A typical installation will install the above files.
Optionally, you can install Discovery Server to a machine that already has an installation of
SQL Server 2000 or install Discovery Server to one machine and the database data files to a
separate machine running SQL Server.

Installing Discovery Server on an Existing SQL Server/IIS Computer


If you have SQL Server 2000 and IIS on the machine you wish to install Discovery Server, run
the Discovery Server once. The installation process will install the Discovery Server engine
(web application files) and the database files for attaching to your instance of SQL Server 2000.

Installing the Server on a Separate Computer from the Database


If you wish to keep your SQL Server 2000 database on a separate machine from Discovery
Server, you will need to run the Discovery Server installation twice - once, as a typical
installation to install the web application and database data files on the Discovery server
machine, and a second time as a custom installation to install and attach the database data
files on the remote SQL Server machine.

10
Chapter 1: Installing the MapInfo Discovery Server

Installing the Server


To install MapInfo Discovery Server:
1. From your product CD, choose Install Server. The Welcome dialog displays.
2. At the Welcome click Next to proceed. Choose Yes to accept the License Agreement.
Click Next. The Customer Information dialog displays.
3. At the Customer Information dialog, enter your user name, company name, and serial
number in the appropriate fields. The serial number is contained in the product
package. Click Next. The Setup Type dialog displays.
4. At the Setup Type dialog, choose from a typical, compact or custom installation. Each is
explained below. Verify the destination location is correct or browse to a new
location. Click Next.
A typical or compact installation will install all Discovery Server components. A
custom installation allows you to select which components to install. See Installation
Scenarios for more information.

For a typical or compact installation, the Setup Status dialog displays the installation
progress. Proceed to step 5.
For a custom installation in which you are installing Discovery on a system that
contains an instance of SQL Server 2000, the SQL Server Administrator Information
dialog displays. Select the instance and provide the user ID and password with
administrator privileges. Click Next. The Setup Status dialog displays the installation
progress.

11
Chapter 1: Installing the MapInfo Discovery Server

For a custom installation in which you are installing Discovery Server on a separate
system from the SQL Server database, you will run the installation process twice. The
first time through (assuming you are installing the Discovery Server on the current
machine), choose Typical from the Select Type dialog and proceed to step 5.
The second time through, on the SQL Server 2000 machine, choose Custom and click
Next. At the Select Features dialog, clear the checkbox marked Web application files
(if listed), leave the Database data files box checked and click Next. Continue to step 5.
5. At the Install Complete dialog, select Yes, I want to restart my computer now, if you
are installing Discovery and database files on a single machine. Click Finish to
complete the process. Select No if you need to install the database files on the remote
SQL Server machine.
6. Repeat steps 1-5 to re-run the installer on the SQL Server machine to install the
necessary database data files (described in step 4). See The System Tab in the
Administrator section for information about how to set up your own SQL Server
database for use with Discovery.

Upgrading to Discovery Version 1.1


If you have a previous version of Discovery installed, you will need to uninstall it prior to
upgrading to Discovery v1.1.
Important: You must install v 1.1 to the same location as v1.0 so that your previously
published maps, database files and license file from v 1.0 are retained.
To upgrade to Discovery v1.1:
1. From Control Panel > Add/Remove Programs, remove MapInfo Discovery 1.0 from
your system. Reboot before proceeding to the Discovery 1.1 installation.
2. Run the Discovery 1.1 installation process, see Installing the Server on page 11.
3. Reboot your system again to complete the setup.

12
Chapter 1: Installing the MapInfo Discovery Server

Uninstalling the Server


To remove MapInfo Discovery Server from your system:
1. From your product CD, choose Install Server. The Welcome dialog displays.
Alternatively, remove the product from Add/Remove Programs section of the
Windows Control Panel.
2. Select Remove and click Next. The Confirm Uninstall dialog displays.
If you are uninstalling Discovery from a system containing your own instance of SQL
Server 2000, the SQL Server Administrator Information dialog displays. Provide the
user ID and password with administrator privileges. Click Next.

3. At the Confirm Uninstall dialog click OK. The Setup Status dialog displays.
4. Click Finish to complete the process.
Uninstalling the Discovery Server will not remove any maps you have published. In addition
the database files used to connect to SQL Server 2000 and the license file are not removed.
These files are necessary for you to upgrade to v1.1.

13
Web and FTP Virtual Directories
The Discovery Server installer creates three virtual directories on your “Default Web Site” and
one virtual directory on your “Default FTP Web Site.” Run Internet Services Manager to see
the virtual directories that were created by the Discovery Server installer.

The virtual directories on the “Default Web Site” are:


• MIDiscovery
• DiscoveryMaps
• DiscoveryMapImages
The virtual directory on the “Default FTP Site is:
• DiscoveryMaps
Chapter 1: Installing the MapInfo Discovery Server

MIDiscovery – Default Web Site


This is the main entry point for the Discovery Web Application. You use this Web application
to view the published maps. The following dialog box describes the settings.

The local path points to the Discovery Server installation directory. For example, c:\Program
Files\MapInfo\Discovery\Server\WebApp.

DiscoveryMaps – Default Web Site


This is the virtual directory that points to the published maps so the Web application can
generate the dynamic map images.

The local path points to the Discovery maps directory. For example, c:\Program
Files\MapInfo\Discovery\Server\WebApp\DiscoveryMaps.

15
Chapter 1: Installing the MapInfo Discovery Server

DiscoveryMapImages – Default Web Site


This is the directory that stores the dynamically generated temporary map images. Write
access permission needs to be checked.

The local path points to the Discovery images directory. For example, c:\Program
Files\MapInfo\Discovery\Server\WebApp\DiscoveryMapImages.

DiscoveryMaps – Default FTP Site


Discovery Publisher copies map files to this directory. It must point to the same folder as
DiscoveryMaps on the “Default Web Site”. Write access permission needs to be checked.

The local path points to the Discovery maps directory. For example, c:\Program
Files\MapInfo\Discovery\Server\WebApp\DiscoveryMaps.

16
Chapter 2: Using the Discovery Server Administrator
You can easily manage map sources from your server. This is done through the server
administrator program on the Discovery server. The server administrator allows you to start
and stop the Discovery server and manage the map source. The server can be turned on or off
by clicking the button in the Discovery Server frame. If the server is running, the button reads
Stop. If the server is not running, the button reads Start.

Creating a map source designates a directory on your MapInfo Discovery Server where map
data is located. Having a map source designated on the server is optional, however, there are
several benefits to creating one. A map source on the server allows you to:
• save disk space because layer and raster (.tab) files are not duplicated
• use the MapInfo Discovery Server as the central map data file server
• make the MapInfo Discovery Publisher faster, since fewer files need to be copied
• publish seamless tables – seamless tables can only exist on the MapInfo Discovery
Server
• make different versions of MapInfo data products available for everyone
By default, Discovery Publisher copies the data files to the server when you publish a map.
Chapter 2: Using the Discovery Server Administrator

Creating a Map Source


To create a map source:
1. Open the Discovery Administrator from the Windows Start menu: Start > Programs >
MapInfo > Mapinfo Discovery > Discovery Server Administrator (assuming you
installed Discovery to the default location).
2. Enter the name of the source directory in the MapSource Directory field or click the
Browse button to select a directory on the MapInfo Discovery Server. The MapInfo
Discovery Publisher references this directory for map files.
3. Enter the name for the map source in the Map Source Name field.
4. Click the Add button to create the map source. Add will:
• add the map source name and path to the MapInfo Discovery database
• display the new added map source in the list

Deleting a Map Source


Deleting a map source will permanently remove the data for any maps that have been
referenced by those using the Discovery Publisher.
To delete a map source:
1. Open the Discovery Administrator from the Windows Start menu: Start > Programs >
MapInfo > Mapinfo Discovery > Discovery Server Administrator (assuming you
installed Discovery to the default location).
2. Select the map source from the list.
3. Click the delete button to delete the map source. This will:
• delete the map source from the database
• remove map source from the list
4. Click Done to end the operation.

18
Chapter 3: Web Application Administrator Functionality
System administrators can perform a variety of operations through their Discovery Web
application. To access administrator functionality you must first sign in. To sign in:
1. Click Sign in located in the upper right corner.
2. Enter your User Name and Password in the appropriate fields.
3. Click the Sign In button.
Discovery sets the default administrator login account with ’admin’ for the user name and
leaves the value of the password empty.
These values can be changed in the User section of the Administrator window. See the section,
The User Tab, for details on how to change and store values.
Once you have signed in, a new tab, Administrator, becomes available.

Signing in as an administrator also gives you all publisher privileges. See Web Application
Publisher Functionality, in the section, Using the MapInfo Discovery Publisher.
Chapter 3: Web Application Administrator Functionality

Clicking the Administrator tab opens a new window. The new window contains these four
tabs:
• System
• MapCategory
• User
• Help

The System Tab


The System tab stores important settings for your application. All of these settings must be
accurate for the system to work properly. You can choose to have Discovery manage the
database for you or you can manage your own database. If you are managing your own
database, make sure that you have read the section, Managing Your Own MapInfo Discovery
Database. The values contained in the System tab are:
Database Name – The name of the database instance. By default, the name is MIDiscovery.
This is only necessary if you are managing your own database.

20
Chapter 3: Web Application Administrator Functionality

Database Server Name – The name of the computer that is the database server, <your SQL
Server 2000 server name>, for example. This is only necessary if you are managing your own
database.
Database User Name – The name of the database user. By default, the user is "sa." This is only
necessary if you are managing your own database.
Database User Password – The password for the database user. The password is assigned by
default. Re-enter the password to confirm. This is only necessary if you are managing your
own database.
FTP User Name – The name of the FTP user. By default, the name is "anonymous".
FTP User Password – The password for the FTP user. The password is empty by default.
Re-enter the password to confirm.
Email Server Name – The name of the Simple Mail Transfer Protocol (SMTP) mail server that
will deliver email messages, for example, "smtp.<yourdomain>.com."
To specify your SMTP server name:
1. From the browser window of the Discovery Web client, sign in as administrator
(default is ’admin’, leave password blank).
2. Click the Administrator tab to open the Administrator window.
3. Click the System tab at the top of the Administrator window.
4. Enter the name of your SMTP server in the Email Server Name field.
5. Click the Save button to store the value.
Log File Path – The path to the text file where any errors will be logged.

The MapCategory Tab


The MapCategory tab allows you to view all of the map categories and delete an entire
category.
To delete a category, select the check box next to the appropriate category and click the Delete
button. You can delete one or more categories. If there are no maps in the category, that
category will be deleted without confirmation. If there are maps, you will be asked to confirm
the delete. All of the maps in that category will be deleted.
Note that duplicate map names are acceptable in a single MapCategory.

21
Chapter 3: Web Application Administrator Functionality

The User Tab


The User tab allows you to view all of the users and edit or delete a user.
You can edit a user by selecting the check box next to the user name and clicking Edit. The
following values can be changed:
User Type – Use the drop-down box to change the user's rights to administrator or publisher.
User Email Address – Change the email address of the user in the text box.
User Password – Enter the new password in the text box. Re-enter the password to confirm.
Click Save to store changes to user settings.
To delete a user, select the check box next to the appropriate user and click the Delete button.
If the user hasn't published any maps, that user will be deleted without confirmation. If there
are maps, you will be asked to confirm the delete operation. All of the maps that were
published by that user will be deleted.

The Help Tab


The Help tab displays a Help file that explains Administrator functionality for the System,
MapCategory and User tabs.

22
Chapter 4: Managing Your Own Discovery Database
This section shows you how to create and manage your own MapInfo Discovery Database via
a Microsoft SQL Server 2000.

Requirements
• An active SQL Server 2000 server
• An administrator account to sign in SQL server 2000
• An installed MapInfo Discovery server, so you can access database files and
instructions.

Step 1: Locate the Database Files


After you have installed the MapInfo Discovery Server, you can find the database files in the
following file folder: “c:\program files\MapInfo\Discovery\Server\Database” for default
installation. There are five files in this folder.
• Discovery.pdf – This document.
• MIDiscovery_Data.mdf – MapInfo Discovery Database file, use in Step 4.
• MIDiscovery_Log.ldf – MapInfo Discovery Database file, use in Step 4.
• attach_db.sql – MS SQL script for attaching database, use in Step 4.
• MIDiscovery.sql – MS SQL script for creating tables and stored procedures, use in
Step 5.
Chapter 4: Managing Your Own Discovery Database

Step 2: Copy the Database Files


1. You must stop the MSDE copy of SQL Server that Discovery installed because SQL
Server locks the two files that you will copy.

• Click the SQL Server Service Manager in the System Tray.

• Under Server select <YourMachineName>\MIDiscovery, in this example it is


“APPDEV\MIDiscovery.”
• Click the Stop button. Now the SQL Server is stopped and you are ready to copy the
files.
2. Copy MIDiscovery_Data.mdf and MIDiscovery_Log.ldf to your SQL Server 2000
machine. MS SQL Server has a data folder, For example “C:\Program
Files\MS_SQL_Server\Data\”, to store database files.
3. Copy Attach_db.sql and MIDiscovery.sql files to the SQL Server machine. You can
copy these files to any file folder and remove them when you have done all the steps.
4. Restart the SQL Server Service Manager (on "appdev/MIDiscovery," for example).

24
Chapter 4: Managing Your Own Discovery Database

Step 3: Launch SQL Query Analyzer


1. Run Query Analyzer from the Start > Microsoft SQL Server > Query Analyzer.
2. The following sign in dialog displays. Sign in as an administrator account to create a
new Discovery database instance on your selected SQL Server.

3. After you sign in, you the following screen displays.

25
Chapter 4: Managing Your Own Discovery Database

Step 4: Attach MapInfo Discovery Database


1. Select File > Open, an Open Query File dialog box displays.

2. Find the database folder that was described in Step 1 (or Step 2) and select
attach_db.sql.
3. Make sure the MIDiscovery_Data.mdf and MIDiscovery_Log.ldf files are pointing to
the folder where you copied the two database files in step 2.

4. Press F5 (Execute Query) to execute the attach db command.


5. You will see “The command(s) completed successfully.” in the Message Window.

26
Chapter 4: Managing Your Own Discovery Database

Step 5: Create MapInfo Discovery Database Tables


1. Select File > Open again, an Open Query File dialog box displays.

2. Select MIDiscovery.sql.

3. Press F5 to execute the SQL commands.


4. You will see “The command(s) completed successfully.” in the Message Window.
5. The MapInfo Discovery Database has been created on your SQL Server 2000.
6. Close the SQL Server/Query Analyzer application.

27
Chapter 4: Managing Your Own Discovery Database

Step 6: Create a User Account for MapInfo Discovery


1. Click on SQL Server/Enterprise Manager .

2. Select the SQL Server on the left window where you just created the Discovery
Database. If you had the Enterprise Manager open, you will need to refresh to see the
new MIDiscovery database.
3. Click Users.

28
Chapter 4: Managing Your Own Discovery Database

4. Click the right mouse button and select “new database user…”

5. In the Login name field, select <new>.

6. Enter Name: “DiscoveryUser.”


7. Select SQL Server Authentication.
8. Enter Password.

29
Chapter 4: Managing Your Own Discovery Database

9. Select Database MIDiscovery.


10. Click Database Access Tab.

11. Check the Permit check box on MIDiscovery.


12. Click OK and confirm the password again.

30
Chapter 4: Managing Your Own Discovery Database

13. Select DiscoveryUser.

31
Chapter 4: Managing Your Own Discovery Database

14. Click the right mouse and select properties.

15. Click the Permissions…button.


16. Check SELECT, INSERT, UPDATE and DELETE on Counter, MapCategory,
MapSources, MapUsers and Maps objects.

32
Chapter 4: Managing Your Own Discovery Database

17. Scroll down and check EXEC on getCategoryID, getMapID and getUserID.
18. Click Apply, then click OK.
19. Click OK again.

33
Chapter 4: Managing Your Own Discovery Database

Step 7: Switch MapInfo Discovery Server to Use Your


Database Instance
Now you have completed the creation of MapInfo Discovery Database on your own SQL
Server 2000. You need to switch the Discovery Server to use this new Database.
1. Use the URL http://<DiscoveryServer>/Midiscovery/ to go to Discovery Web
Application.

2. Click “Sign In” on the top right.

34
Chapter 4: Managing Your Own Discovery Database

3. Sign in as “admin” with no password (if you have not already changed the password.

35
Chapter 4: Managing Your Own Discovery Database

4. Click on the System Tab.

5. Click “Manage Discovery database on your MS SQL Server 2000”.


6. Enter the Database Name, Database Server Name, Database User Name and
password.
7. Click Save.
8. It will take few seconds for the Web application to test the database server and save
the settings.
9. You will see “The system parameters have been saved.”
10. The Discovery Server is now using Discovery Database from your SQL Server 2000.

36
Chapter 5: Troubleshooting MapInfo Discovery Server
Read through the following sections to avoid any problems that may occur when using the
MapInfo Discovery Administrator.

Internet Information Services


Preventing Unnecessary Login
In IIS (when using Windows 2000), if the Integrated Windows authentication in the
Authentication Methods dialog (Discovery properties > Directory Security > Authentication
methods) is selected, the Web user must log in before they can see the Web pages.

Clearing the Integrated Windows authentication check box allows the user to view the pages
without logging in.
Note: Integrated Windows authentication needs to be cleared at the Web server level
(“Default Web Site”) and the virtual directory (“MIDiscovery”).
Chapter 5: Troubleshooting MapInfo Discovery Server

Avoiding 403.9 Errors


A 403.9 Access Forbidden error message occurs with either Windows 2000 Professional or
Windows NT 4 Workstation. This error occurs when there are too many people attempting to
access the Web site at one time. By default, you can only have ten sessions with Windows 2000
Professional and Windows NT 4 Workstation. Allowing only ten sessions with these versions
is the designed behavior. Using the version of IIS that is included with Windows 2000 Server
allows you to have more than 10 connections. For more information, see http://
support.microsoft.com/default.aspx?scid=kb;EN-US;q262635.

SQL Server Authentication Modes


If you already have a SQL Server instance installed on the machine where you will be
installing Discovery Server, the SQL server must support Mixed Mode authentication, which
is not the default for a SQL Server 2000 install. The database has to be installed or configured
with this option.
If you are using the default Discovery install, there is no need to set the authentication mode.
If you are installing a new instance of SQL Server, there is a radio button pair in one of the
install dialogs that allows you to select the type of authentication. You should select Mixed
Mode at the Authentication Mode dialog.
If you need to change an existing SQL Server instance, you should use the SQL Server
Enterprise Manager. Right-click on the server instance, select Properties, and in the Security
tab, make sure SQL Server and Windows is selected.

Email Options Do Not Work


If you are unable to send email from your Discovery application, you may need to specify
your Simple Mail Transfer Protocol (SMTP) server name. To specify your SMTP server name:
1. From the browser window of the Discovery Web client, sign in as administrator.
2. Click the Administrator tab to open the Administrator window.
3. Click the System tab at the top of the Administrator window.
4. Enter the name of your SMTP server in the Email Server Name field.
5. Click the Save button to store the value.

38
Chapter 5: Troubleshooting MapInfo Discovery Server

Web and FTP Virtual Directories


Managing Disk Space
If you have many published maps and you are running out of disk space, you can move the
published maps folder c:\Program
Files\MapInfo\Discovery\Server\WebApp\DiscoveryMaps on your Discovery server to a
different hard disk.
After you move or copy the map folder, you must change the two virtual directories,
DiscoveryMaps, in “Default Web Site” and “Default FTP Site” to point to the new folder.
You also need to add full control access right for IUSR_<Your_Machine_Name> user account
on this new folder.

Anonymous FTP Account


By default Discovery publisher will use the “anonymous” FTP user account to connect to the
Discovery FTP server to copy maps. If you have any security issues, you can use another user
account. Sign in as admin in the Discovery Web application. Follow the sign in instructions in
the section, Web Application Publisher Functionality, if you are unsure how to sign in. Click
the Administrator tab to change the FTP user name and password.

39
The MapInfo Discovery™
Publisher Guide
Chapter 6: Installing the MapInfo Discovery Publisher
Use this section to guide you through the installation process. Before installing, make sure
that your system meets the following requirements.

System Requirements
MapInfo Discovery requires the following specifications:
• Windows 98 Second Edition, Windows NT4.0 with Service Pack 6 , Windows 2000, or
Windows XP Professional
• 32 megabytes of RAM with a minimum of a Pentium PC
• Internet Explorer 5.5 with Service Pack 2 or higher
• MapInfo Professional version 6.5 or higher
Note: MapInfo Professional must be installed and run at least once on the machine where
you will be installing MapInfo Discovery before you can install MapInfo Discovery.

Installing and Integrating with MapInfo Professional


Make sure that MapInfo Professional is not running before beginning the install process.
To install MapInfo Discovery:
1. From your product CD, choose Install Discovery Publisher. The Welcome dialog
displays.
Note: If your machine has a previous version of MapInfo Discovery, it must be removed
before installing a new version. See the section, Uninstalling Discovery for
instructions and details.
2. At the Welcome dialog click Next. The Customer Information dialog displays.
Chapter 6: Installing the MapInfo Discovery Publisher

3. At the Customer Information dialog, enter your user name and company name in the
appropriate fields. Click Next. The Choose Destination Location dialog displays.

4. At the Choose Destination Location dialog, accept the default location or browse to
another location. Click Next. The Setup Status dialog begins.

5. At the Install Complete dialog, click Finish to complete the process.

44
Chapter 6: Installing the MapInfo Discovery Publisher

Uninstalling Discovery
Uninstalling Discovery removes all components placed on your machine during the
installation process. This does not include the data for maps that you have published located
in <Discovery install directory>/mapinfo/discovery/publisher/PublishedMaps/MAPxxxx.
You may manually delete these folders if you choose.
To remove MapInfo Discovery from your system:
1. From your product CD, choose Discovery Publisher and select Remove.
Alternatively, remove the product from the Add/Remove Programs section of your
Windows operating system. The Welcome dialog displays.
2. At the Welcome dialog select Remove. Click Next. The Confirm Uninstall dialog
displays.
3. At the Confirm Uninstall dialog click OK. The Setup Status dialog begins.
4. Click Finish to complete the process.

45
Chapter 7: Using the MapInfo Discovery Publisher
MapInfo Discovery Publisher provides a simple interface that enables you to distribute your
Mapinfo Professional workspaces to a Web-based application.
Once you have created a Mapinfo Professional workspace to publish, follow these steps to
send your map to MapInfo Discovery Server:
1. From MapInfo Professional, open a map window via a workspace or a table, then
choose the Map menu and select Send Map To > MapInfo Discovery Server. The
MapInfo Discovery Publisher dialog displays.
2. In the MapInfo Discovery Publisher dialog, enter all appropriate information in the
fields in the tabs. To navigate, click on a particular tab or use the Back and Next
buttons at the bottom of the dialog.
3. Click Finish. A summary dialog displays.
4. Review the summary information and click Publish to complete the process. A
confirmation dialog displays with a link to the page on the server where the map is
located.
There are four tabs in the MapInfo Discovery Publisher. The tabs are:
• The Server Tab
• The Map Tab
• The Side Bar Tab
• The About Tab

The Server Tab


The Server tab contains two important areas. The first is the MapInfo Discovery Server Status
Frame. Depending on whether this is the first use, the second will either be the MapInfo
Discovery Publisher Registration Frame or the MapInfo Discovery Publisher Login.

MapInfo Discovery Server Status


MapInfo Discovery Server Name – Select a Web server name from the drop-down list or
choose <New> to enter the name of a Web server. If you chose <New> a separate dialog will
open. You do not need to enter the http prefix, just the server name or IP address. Enter the
name of the Web Server and click OK.
Catalog Service Status – After you enter the Web server name the status displays.
Mapping Service Status – After you enter the Web server name the status displays.
Chapter 7: Using the MapInfo Discovery Publisher

MapInfo Discovery Publisher Registration – first-time use

MapInfo Discovery Server Name – You can use the existing server, change servers, or add a
new server.
User Name – Your user name is not editable and is dependent on your machine. That is, the
user name is the same name as the name you used to log on to your machine. You will use this
name to log in as a publisher in the Web-based application.
Password – Enter a password. You will use this password when using the Publisher and to
log in to the Web-based application.
Confirm Password – Re-enter the password.
Email Address – Enter your email address. (After clicking the Register button, MapInfo
DiscoveryPublisher will send you a welcome email message.)
Register – Once you have completed all of the fields, click Register. A welcome message will
be sent to you including your user name, password, and a link to your organization’s Web-
based application.
Note: If you do not receive an email message, contact your Discovery Server administrator
or see the Troubleshooting section in the Discovery Server Guide.

48
Chapter 7: Using the MapInfo Discovery Publisher

MapInfo Discovery Publisher Login

MapInfo Discovery Server Name – You can use the existing server, change servers, or add a
new server.
User Name – Enter your user name. You will use this name to log in as a publisher in the
Web-based application.
Password – Enter a password. You will use this password to log in as a publisher in the Web-
based application.
Login – After you have entered the appropriate information in the User Name and Password
fields, click Login to access the other tabs in the dialog.
Send me a password reminder – MapInfo Discovery Publisher will email you a message
containing your user name and password.

49
Chapter 7: Using the MapInfo Discovery Publisher

The Map Tab


The Map tab contains three important areas: the Map Properties frame, the Security Options
frame, and the License Agreement.

Map Properties
Map Name – Enter the name of the map in the text field. This field is mandatory. Note that
you can have duplicate map names on a server.
Map Description – Enter a brief description of the map in the text field.
Map Category – Select an appropriate category from the drop-down list or choose <New>
and enter a map category name. Use this as a descriptive way to group maps. Duplicate map
names are acceptable in a single map category.
Map Thumbnail Image – Accept the default path of the thumbnail image or browse to a
location to store the thumbnail. The default name of the thumbnail can also be changed.

Map Security Options


Select the Public Access or Password Protected for the map. If you choose Password
Protected, enter a password in the text field and re-enter the password in the Confirm field. If
a map is password protected, the Web user needs to enter the password before viewing the
map. Therefore, you will have to provide Web users with the password.

50
Chapter 7: Using the MapInfo Discovery Publisher

Layer Options Button


The Layer Options Dialog displays after clicking the Layer Options button.

License Agreement
Select the check box next to the license agreement after you have read and agreed to the terms.
You will not be able to publish until you have done so.

The Layer Options Dialog


When publishing MapInfo .tab files to the server, you have the option either to copy the data
to the server or reference data that is already on the server. By default, all data is copied to the
server. Contact your Discovery server administrator to add map data or create a map source
on the server or see the section, Using the Discovery Server Administrator in the Discovery
Server Guide.

To reference data on the server:


1. Choose the file or folder that resides on the server to be referenced. Do this by clearing
the check box of the file or folder in the Copy File column.
2. Click in the Server Location column to make the browse (...) button available.

3. Click the browse (...) button in the Server Location column. The Select Server File
dialog displays.
4. In the Select Server File dialog, find and match the location of the .tab file (or the
folder containing files) on the server.

51
Chapter 7: Using the MapInfo Discovery Publisher

Select Server File


Use the Select Server File dialog to locate map layers (to be referenced) on the server. Select
the source on the server in the Map Sources on Server field and select the actual files in the
Map Source Files field. Once you have selected the file, click OK.

Map Sources on Server


Select the source on the server from the list in the text field. If map source is empty, see the
section, Creating a Map Source in the Server section of this guide.

Map Source Files


Navigate to the folder where the .tab files of the map layer reside.

52
Chapter 7: Using the MapInfo Discovery Publisher

The Side Bar Tab


On the Side Bar tab, choose what you want to display in the side bar. The side bar is the area to
the right side of the map in your Web application. You can display a Web page, or use HTML
text for the side bar content.

Use a web address for the side bar content


In the text field, enter a URL, for example, http://www.mapinfo.com. When you are viewing
your map in the Web client, the Web page of the address you entered will display in the side
bar next to the map.

Use HTML text for the side bar content


In the text box, use HTML tags to mark up plain text. For example, enter <b>My Map</b>
and My Map displays in the side bar in bold text. Remember that this text box is not an HTML
editor. That is, Discovery creates the structure of the HTML document and places the text you
enter into a table structure.

53
Chapter 7: Using the MapInfo Discovery Publisher

The following is the HTML that MapInfo provides. You will not see these tags; your text is
placed between the <td> and </td> tags. The image of the Side Bar tab shows how the text is
entered.
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="<%=cLocCharSet%>">
<LINK HREF="<%=cStyleSheet%>" REL="STYLESHEET" TYPE="text/css">
</HEAD>
<BODY>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<b>European Map</b><br>Map of Europe
</td>
<tr>
</table>
</BODY>

In the image above, you can see where the text "Europe Map" and "Map of Europe" is placed.

54
Chapter 7: Using the MapInfo Discovery Publisher

Using the side bar to link to a file


You can also link to any type of file in the side bar. For example, to display a spreadsheet with
pertinent information to your map, write a link to the file:
<a href="http://myservername/mydir/mapfacts.xls">See the
spreadsheet for more information</a>.
Keep in mind that you must first place the file on the server to be able to link to it. An example
of the location of this file would be, c:\inetpub\wwwroot\mydir\mapfacts.xls.
Note: Certain characters or symbols may require key combinations. For instance, because
greater than and less than symbols are part of every HTML tag, enter &lt; for less
than or &gt; for greater than. For more information about HTML, visit an HTML
tutorial site, such as http://www.w3schools.com/html/.

The About Tab


The About Tab provides information about the version of MapInfo Discovery Publisher.

55
Chapter 7: Using the MapInfo Discovery Publisher

Web Application Publisher Functionality


Using the Discovery Web application, publishers can edit, move, and delete maps. You must
first sign in to manage your maps.

The Sign In Page


The Sign In page is only required for publishers or administrators who want to make changes
to their work. Administrators should refer to the section, Managing the Web Application.
Viewing maps requires no sign in.

To be able to edit, move, or delete your map, you will have to log in. To log in:
1. Click Sign in located in the upper right corner.
2. Enter your User Name and Password in the appropriate fields.
3. Click the Sign In button.

56
Chapter 7: Using the MapInfo Discovery Publisher

The Manage Maps Page


Access the Manage Maps page by clicking the Manage Maps tab at the top of any page. The
Manage Maps tab is available only if you are signed in as a publisher or an administrator. As a
publisher, you can edit, move, or delete maps. To perform an action on a map, the check box
next to the map image must be selected. You have the ability to edit, move, and delete maps
that you have published and administrators have access to all maps. If you are signed in as a
publisher, you will see a similar screen to the one below.

Edit – Allows you to change the metadata for a map. This includes the map name, description,
editing the password, turn on password protection, edit the side bar URL, or edit the side bar
text. You can only edit one map at a time. Information in any of the text boxes can be edited.
Click Save to store the new values.

57
Chapter 7: Using the MapInfo Discovery Publisher

Move – Allows you to select a different category from a drop-down box. Click Submit to
move the map into the new category. You can move one or more maps. The Move Maps
portion of the Web application looks like the following:

Delete – Deletes selected maps. You can delete one or more maps. Before the map is deleted,
you will be prompted to ensure you are deleting the correct map(s).

58
Chapter 8: Map Display in MI Professional and Discovery
Maps created in MapInfo Professional and published to Discovery Server using Discovery
Publisher will exhibit differences in the display under certain conditions. This is due to how
the mapping engines for both products handle map display.
This section describes the situations in which the display differences are in evidence. Some
differences can be attributed to system limitations.

Thematic Layering: Graduated Symbol and Individual Values


Discovery may exhibit a map with what appears to be incorrect ordering of thematic layers.
This is possible when you have multiple layers, each with an associated theme. An individual
theme is on the top layer and a graduated symbol layer is below. When published to the
Discovery Server, the graduated symbol theme displays above the individual value theme,
thus obscuring it. The mapping engine that displays the map in Discovery always draws
graduated symbol themes on top. Avoid the use of individual value themes and graduated
symbol themes in the same map.

Layer and Theme Visibility


MapInfo Professional allows you to set the visibility and zoom layer for theme layers separate
from the setting for their associated layers. Thus, a theme can display without its layer. In
Discovery, the layer settings control whether or not the theme displays. If a layer is not visible,
the associated theme layer will not be visible, regardless of the setting for the theme in MI Pro.
Similarly, workspace with boundaries that are thematically shaded, but the layer display is set
to not visible, will be published with no visible boundaries.

Themes Created Via a Table Join


Any thematic map, except a Grid map, that is shaded on a value joined from another table will
not display in Discovery after its published. A thematic map that uses a joined table to create
the shading creates a dynamic column using an Add Column MapBasic command that
Discovery does not support. Themes to be published must be generated from a base table.
Chapter 8: Map Display in MI Professional and Discovery

Individual Value Theme Colors


Individual themes based on an expression displays different colors on Discovery Server than
the original map in MI Pro. This is due to a slight difference in creating bins that contain the
theme values.

Dot Density Theme


A dot density theme created in MI Pro will display the dots in random locations within a
polygon in Discovery.

Find Tool
The Select feature exhibits odd behavior when zoom-layering is turned on. In some cases
when zoom-layering is on, and a Find and Select Feature is done, the zoom to the selected
feature occurs but the point is not highlighted, or zoom to feature occurs but nothing is
displayed due to zoom layering. Zoom layering cannot be turned off when user selects a
feature and zooms to it. User needs to zoom out to see the feature that is selected/found.

Labels
Labels appear larger on Discovery than they do in MI Pro, due to differences in rendering
capabilities.

Custom Labels
Custom labels created in MI Pro will not display in Discovery.
Autolabels display in Discovery, provided AUTOLABEL is turned on in the MI Pro Layer
Control dialog.

Cosmetic Layer
If a cosmetic layer contains map objects, the map will publish in Discovery and display the
layer name as Cosmetic1.

Raster Images
CADRG raster files look fuzzier on Discovery than in MI Pro. A raster image published to the
server is actually a bit larger in the web browser and is rendered slightly differently than it
would be in MI Pro.

60
Chapter 8: Map Display in MI Professional and Discovery

ShapeFiles: Longitude/Latitude Bounds Restrictions


MI Pro and Discovery restrict the bounds of the Longitude/Latitude system to -360, -90 to 360,
90 degrees. In the case of ShapeFiles, any point objects outside those bounds will not be seen
or published.

61
Chapter 9: Troubleshooting MapInfo Discovery Publisher
Read through the following sections to avoid any problems that may occur when using the
MapInfo Discovery Publisher.

Installation
Before you begin the installation process, make sure that you have version 6.5 or later of
MapInfo Professional installed. You must also be sure that you have run MapInfo Professional
at least once and that it works properly.
If your machine has a previous version of MapInfo Discovery Publisher, it must be removed
before installing a new version.

Manually Installing Discovery


If the Send Map To option is not available under the MapInfo Professional Map menu, follow
these steps:
1. In MapInfo Professional, choose Tools > Tool Manager.
2. Locate MapInfo Discovery Publisher in the list.
3. Select the loaded and autoload check boxes, and click OK.
4. If MapInfo Discovery Publisher is not in the list, click the Add Tool... button.
5. In the add tool dialog, type MapInfo Discovery Publisher as the title.
6. In the add tool dialog, choose MIDiscoveryPublisher.MBX as the location, and click
OK.
7. Make sure the loaded and autoload check boxes are selected, in the Tool Manager
dialog and click OK.

File Reference to Live Remote Tables


An error msg will display on the Discovery Server when the file reference is to a Live Remote
Table. This is due to a System DSN not being used when defining the Data Source Name. The
connection string in the TAB file for the remote table must also contain the username and
password since the Discovery Server has no methods to pop-up a separate dialog in order to
provide a username and password for connections.
Chapter 9: Troubleshooting MapInfo Discovery Publisher

Side Bar Text


The text in the side bar of the web page will not display if the text starts with a "<". This is a
system limitation in that the WebClient cannot discern whether this "<" character is part of an
html tag or part of the text contents in Side Bar.

Publishing StreetPro Workspaces


There is a long delay before Publisher launches when you are publishing a StreetPro CD
workspace of numerous seamless tables. If data is used from a CD, it will slow down the
publishing process. If possible, keep the data stored locally.

Marquee Zoom
The Marquee Zoom does not zoom if rectangle hits the frame of the Map window or is
dragged over the toolbars. If cursor is not inside the map image, the image tag does not
receive the mouse up event to trigger the zoom to that box.

Recovering Disk Space


When publishing maps, the Discovery Publisher will save the published map into the
following directory: <publisher install directory>/mapinfo/discovery/publisher/
PublishedMaps. Remove these files and folders to recover disk space. Deleting these files does
not effect the data on the server. Published maps are still viewable on the server. Removing
these files deletes your local copy of the published map.

Errors.log File
Any errors that may occur are written to the errors.log file. Use this file as a resource for
checking runtime errors. The file is located at <publisher install directory>/discovery/
publisher.

64
The MapInfo Discovery™
Web Application Guide
Chapter 10: Working with the Discovery Web Application
The Discovery Web application provides a simple interface with powerful functionality. The
application is designed so that you can perform many operations using a small number of
pages. The primary pages that you will be working with are:
• MapCategory
• Map Operations

The MapCategory Page


Access the MapCategory page by clicking the MapCategory tab at the top of any page. The
MapCategory page provides you with an overview of the various categories and maps that
are available to view.

Working with Map Categories


On the left side of the MapCategory page, select a category to view thumbnails of maps in that
group or select View All Maps to see thumbnails of all published maps.
The rest of the page contains a table with the following columns listed below. Click on the
heading of a column to sort the contents. You can sort on Map Name, Publisher, or Published
Date.
Map Image – This column provides a thumbnail of the published map.
Email Map – Click the envelope to send a link (via email addresses) to the map page. You can
send a message to one or many people.
Click the paper icon to copy the map link. You are only able to copy the link if you are using
Internet Explorer.
Also, a map is password protected if the lock icon is present in this column.
Map Name & Description – This column gives the name of the map and text, written by the
publisher, to describe the map.
Publisher – This column provides the name of the person who created the map.
Published Date – This column gives the date and time the map was originally published.
To view the map in greater detail:
1. Browse available maps.
2. Select a map by clicking the thumbnail in the Map Image column or click the name of
the map in the Map Name & Description column.
Chapter 10: Working with the Discovery Web Application

Emailing Maps or Categories


You can send a link to the page you are viewing by clicking one of the email options, Email
Category or Email Map.
Email Category – Clicking Email Category opens a window that displays a form. Here, select
the category from the drop-down list, enter your email address, a message to the recipient,
and the recipient's email address in the appropriate fields. Once complete, click Send. The
recipient will receive a link to the page containing the map category.
Email Map – Clicking Email Map opens a window that displays a thumbnail of the map.
Here, enter your email address, a message to the recipient, and the recipient's email address in
the appropriate fields. Once complete, click Send. The recipient will receive a link to the page
containing the map.
Note: If a map is password protected, remember to include the password in the personal
message field.

The Map Operations Page


Access the Map Operations page by selecting a map from the MapCategory page. Once you
have accessed a map, you can use provided tools to retrieve information.

Working in the Map Pane


The map pane contains a map that can be easily manipulated. In the map pane, you can
change the view of the map using the viewing buttons and the zoom field. You can also
perform other tasks such as determining the distance between points, labeling objects, and
obtaining information associated with the selected object. Each option is explained below.
Re-center Button – Places a new point on the map and makes this point the center.
Zoom-In Button – Accesses the zoom-in tool so you can get a closer aerial view of a map or
layout. You can zoom-in on a point or (if you are using Internet Explorer 5.5 with Service Pack
2 or higher) you can drag the mouse to specify a rectangular area to zoom.
Zoom-Out Button – Accesses the zoom-out tool so you can get a wider aerial view of a map or
layout.
Info Tool Button – Accesses the Info tool so you can view the tabular data associated with the
selected map object. The data will include the name of the layer and the name of the feature.

68
Chapter 10: Working with the Discovery Web Application

Distance Button – Accesses the Distance tool so you can determine the distance between two
points and the length of some path. Click a point on the map and drag your mouse to another
point, releasing the mouse button at the second point. The start and end points will be
represented with pin icons and the distance between the two displays.
Map Information Button – Click the Map Information icon to display information that the
publisher has provided with the map. This information displays in the side bar.
Map Layers Button – Click on this icon to display a list of all available layers. If a check box in
the column with an eye icon is selected, that layer is visible. If a check box in the column with
an tag icon is selected, that layers display at the appropriate zoom level. Once you have
selected or cleared the desired check boxes, click Update Map, to display the new map.
Find Button – Click on this icon to display a list of layers to search for a feature. Choose a
layer and a field name from the drop-down list. Type the text of the feature you wish to find in
the Search Text box and click Find. If there is a single exact match, Discovery automatically
zooms in on the feature. If an exact match returns multiple records, Discovery displays all
candidates in a list. Select a feature from the list and click the Select Feature button to zoom in
on it. To clear the selection from the map, click the Clear Selection button.
Note also the following when using Find:
• Find will only search layers with indexed fields. Non-indexed layers display in the
list, however there is no list of fields to search.
• Find does not support a search on date or decimal fields.
• Find can perform a "fuzzy" search in which the search text can contain the start of a
search string and return a list of match candidates. Find returns up to 50 candidate
matches it considers to be close matches. If a table has less than 50 rows, it will return
50 percent of the number of rows in the table.
• Find does not return candidates in alphabetical order.
• For a street layer (e.g., StreetPro and StreetInfo), Find will only return matches when
the address contains a street name or street name and extension. It will not return any
matches if the address contains a house number. The following are examples:
"Pine Ave" -> matches returned
"Pine" -> matches returned
"6 Pine Ave" -> no matches returned
"6 Pine" -> no matches returned

69
Chapter 10: Working with the Discovery Web Application

View Entire Layer Button – Click on this icon to display a list of layers in the sidebar. Choose
All Layers or a particular layer you wish to view to the full extent. Click the Update Map
button to re-display the map.
Legend Button – A legend is only available with a thematic map. Click the Legend icon to
display the legend for the map in the side bar area.
Email Map Button – Clicking Email Map opens a window that displays a thumbnail of the
map. Here, enter your email address, a message to the recipient, and the recipient's email
address in the appropriate fields. Once complete, click Send. The recipient will receive a link
to the page containing the map.

Viewing the Side Bar


The side bar is located on the right side of the screen. The default display of this pane contains
text with introductory information about the map. This text is written by the person who
published the map. Pictures or links to other Web sites can also be included.
When the Info tool is used in the map pane, the content of the output pane changes. The pane
will now display point information about where the Info Tool was used.

70
Index

A appearance 60
Layer Options 51
About tab
Layers
Publisher 55
order of theme layers 59
theme visibility 59
C Longitude/latitude bounds
Cosmetic layer 60 shapefile restrictions 61

D M
Database Managing your own Discovery database 23
managing your own 23 Map display
Dot density themes 60 differences in MI Pro and Discovery 59
Map source
creating 18
F deleting 18
Find tool managing 17
zoom-layering 60 Map tab
Publisher 50
MapCategory tab
G Web Application Administrator 21
Graduated symbol themes MapInfo Discovery
layer order 59 summary of user roles 4
MapInfo Discovery Publisher
About tab 55
H installing 43
Help tab Layer Options dialog 51
Web Application Administrator 22 Map tab 50
Server tab 47
I Side Bar tab 53
system requirements 43
Individual value themes using 47
colors 60
MapInfo Discovery Server
layer order 59 starting and stopping 17
Installation
system requirements 9
Publisher 43
virtual directories 14
Server 9
MapInfo Discovery Server Administrator
tool
L using 17
Labels
Index

P T
Publisher Themes
role of 4 dot density 60
Publishing maps joined table values 59
cosmetic layer 60 layer order 59
dot density themes 60 visibility 59
graduated symbol themes 59 Troubleshooting
individual value theme colors 60 Discovery Publisher 63
individual value themes 59 Discovery Server 37
layer and theme visibility 59
themes created from joined tables 59
using MapInfo Discovery Publisher 47 U
Publishing raster images 60 User roles
MapInfo Discovery 4
User tab
R Web Application Administrator 22
Raster images Using Web Application Administrator 19
displaying 60
V
S Viewing published maps 4
Server Administrator
role of 4
Server Administrator tool W
using 17 Web Application Administrator
Server tab Help tab 22
Publisher 47 MapCategory tab 21
ShapeFiles System tab 20
longitude/latitude bounds 61 User tab 22
Side Bar tab using 19
Publisher 53 Web application user
System requirements role of 4
MapInfo Discovery Publisher 43 using Discovery 4
MapInfo Discovery Server 9
System tab
Web Application Administrator 20
Z
Zoom layering
Find tool 60

You might also like