Import From SDTS (Coverage)

License Level:BasicStandardAdvanced

Summary

Creates ArcGIS coverages or grids from a Spatial Data Transfer Standard (SDTS) Topological Vector Profile (TVP) or Point Profile Transfer.

Usage

Syntax

SDTSImport_arc (in_transfer_prefix, output, {out_point_cover}, {layer_name}, {data_dictionary}, {convert_void})
ParameterExplanationData Type
in_transfer_prefix

A four-character prefix common to all files in the SDTS transfer. The prefix may include a pathname to a directory. If no directory pathname is given, the files in the transfer will be read from the current workspace.

String
output

The coverage or grid to be created.

Data Element
out_point_cover
(Optional)

The name of an optional point coverage to be created when the Topological Vector Profile is converted. This option is ignored if the SDTS dataset is not the Point Profile Transfer.

Coverage
layer_name
(Optional)

The name of an aggregated spatial object that represents a single data layer in a transfer. There can be multiple layers in a single transfer. By default, the first layer encountered is the only one that will be converted.

String
data_dictionary
(Optional)

Option to retain or drop the data dictionary.

  • DDRetain the data dictionary.
  • DROP_DDDiscard the data dictionary.
Boolean
convert_void
(Optional)

Used to convert or preserve void and fill values in the raster transfer. In the raster profile, NULL values are defined in two general categories: (Undefined, not relevant) or (Relevant but unknown or missing).

  • CONVERTConvert void and fill values in the raster transfer.
  • PRESERVEPreserve void and fill values in the raster transfer.
Boolean

Code Sample

SDTSImport example (stand-alone script)

The following stand-alone script demonstrates how to import a coverage from SDTS format.

# Name: SDTSImport_Example.py
# Description: Imports a coverage from SDTS format
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = r"C:\data"

# Set local variables
inTransferPrefix = "UTHY"
output = "C:/output/uthydro"
dataDictionary = "DROP_DD"

# Execute SDTSImport
arcpy.SDTSImport_arc(inTransferPrefix, output, "", "", dataDictionary, "")

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Requires ArcInfo Workstation installed
6/18/2012