Overview of the data.find namespace, Find – Pitney Bowes MapXtreme User Manual

Page 259

Advertising
background image

Chapter 13: Finding Locations

Overview of the Data.Find Namespace

MapXtreme v7.1

266

Developer Guide

Overview of the Data.Find Namespace

The MapInfo.Data.Find namespace contains classes that enable you to locate a map feature, street
address, or street intersection within a mappable table. The properties and methods of the Find
class are used to set up a Find. The results of a Find are returned using the FindAddressRange,
FindCloseMatch, and FindResult classes.

The following UML diagram illustrates the Find namespace.

Find

The Find object is used to locate a map object, street address, or street intersection within a given
mappable table. Find searches the table for a match and returns the result(s) in a FindResult object.

To use Find in MapXtreme, you must have:

A mappable table (a table that contains geometry objects)

An indexed column on which to perform the search

An item to search for, such as a place name, street address or street intersection

Optionally, a refining table in which to narrow the search to a more specific location.

The Find class provides a number of properties to control the search operation. For example, you
can limit the number of close matches to be returned (CloseMatchesMax) or indicate that you wish
to use the abbreviation file for increasing the likelihood of a match (UseAbbreviations).

Advertising