Mapping Toolbox    
vmap0rhead

Read the header of a VMAP0 file

Syntax

Background

The Vector Map Level 0 (VMAP0) uses header strings in most files to document the contents and format of that file. This function reads the header string and displays a formatted version in the command window, or returns it as a string.

Description

vmap0rhead allows the user to select the header file interactively.

vmap0rhead(filepath,filename) reads from the specified file. The combination [filepath filename] must form a valid complete filename.

vmap0rhead(filepath,filename,fid) reads from the already open file associated with fid.

vmap0rhead(...), with no output arguments, displays the formatted header information on the screen.

str = vmap0rhead(...) returns a string containing the VMAP0 header.

Remarks

This function reads all VMAP0 files except index files (files with names ending in 'X'), thematic index files (files with names ending in 'TI') and spatial index files (files with names ending in 'SI').

File separators are platform dependent. The filepath input must use appropriate file separators, which may be determined using the MATLAB filesep function.

Examples

The following example uses the Macintosh file separators and pathname:

See Also
vmap0data
Read selected data from the VMAP0
vmap0read
Read a VMAP0 file


  vmap0read vmap0ui