Mapping Toolbox    
dcwgaz

Search for entries in the Digital Chart of the World gazette

Syntax

Background

In addition to the geographic data, the Digital Chart of the World (DCW) also includes an extensive gazette feature. The gazette is a collection of the names of geographic items mentioned in the various themes of a DCW disk. One DCW disk may contain about 10,000 to 15,000 names. This function allows the gazette to be searched for names beginning with a particular string.

Description

dcwgaz(library,object) searches the DCW library for items beginning with the object string. There are four CDs, one for each of the libraries: 'NOAMER' (North America), 'SASAUS' (Southern Asia and Australia), 'EURNASIA' (Europe and Northern Asia), and 'SOAMAFR' (South America and Africa). Items which exactly match or begin with the object string are displayed on screen.

dcwgaz(devicename,library,object) specifies the logical device name of the CD-ROM for computers which do not automatically name the mounted disk.

mtextstruc = dcwgaz(...) displays the matched items on screen and returns a Mapping Toolbox geographic data structure with the matches as text entries.

[mtextstruc,mpointstruc] = dcwgaz(...) returns the matches in structures formatted both as text and as points.

Remarks

The search is not case sensitive. Items that match are those that begin with the object string. Spaces are significant.

Examples

On the Macintosh:

On a UNIX operating system with the CD-ROM mounted as '\cdrom':

See Also
dcwdata
Read selected data from the Digital Chart of the World
dcwread
Read a Digital Chart of the World file
dcwrhead
Read a Digital Chart of the World file header
displaym
Project data contained in a map structure
mlayers
GUI for manipulating map layers


  dcwdata dcwread