DB2 graphic QMF Version 8

Procedure commands

The SPATIAL command performs spatial operations from a procedure. The SPATIAL commands are listed below.

Note:
In many of the following procedures, an error occurs if the current data object does not contain exactly one column with a spatial data type.

Also, in many of the following procedures, an error occurs if the current visualization specification is empty.

Table 96. Procedure Commands
Procedure Description
SPATIAL RESET

Remove all layers from the current visualization specification

SPATIAL ADD

Export the current data object to a temporary shape file and add the shape file, as a new layer, to the current visualization specification.

SPATIAL EXPORT TO file-name (DATAFORMAT-JPG|BMP|GIF|...,CONFIRM=YES|NO Invoke the ESRI component to visualize the layers in the specification and export the image to a file with a specific file name and data format.

The CONFIRM option controls whether an "overwrite" confirm message is issued if the file exists.

SPATIAL DISPLAY Display the Visualize Spatial Data dialog box to view the layers in the specification. The procedure is suspended until the user closes the dialog box.
EXPORT DATA Accept the following values for the DATAFORMAT option:
  • DBF
  • SPM

This function is similar to the EXPORT FORMAT command and the Export Data dialog box.

IMPORT DATA This procedure works with shape files. This function is similar to the IMPORT DATA command and the Import Data dialog box. The type of data that is being imported is determined by the file extension, where .spm is a shape file, and anything else is an .ixf file (which maintains backward compatibility).


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004