The SPATIAL command performs spatial operations from a procedure. The SPATIAL commands are listed below.
Also, in many of the following procedures, an error occurs if the current visualization specification is empty.
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:
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). |