Available with Advanced license.
Summary
Creates a Spatial Data Transfer Standard (SDTS). Topological Vector Profile (TVP). or Point Profile Transfer from an ArcGIS coverage or grid.
Usage
SDTS is a large standard composed of smaller, more limited subsets that are Federally approved as part of the SDTS FIPS 173 standard. These subsets are called profiles. The Topological Vector Profile (designed specifically for planar vector data with topology), Raster, and Point profiles are the only profiles supported by SDTSEXPORT.
The following conditions must be met when creating a TVP transfer:
- The coverage must have polygon topology.
- The coverage cannot have a mask file, only Clean coverages will export.
- The coverage must have a projection defined or it will not be exported.
Annotation will be ignored when creating a TVP transfer.
Syntax
arcpy.arc.SDTSExport(SDTS_type, in_dataset, out_transfer_prefix, {in_point_cover}, {out_DD_transfer}, {Conv_Ctrl_File})
Parameter | Explanation | Data Type |
SDTS_type | The type of SDTS profile that will be created:
| String |
in_dataset | The input coverage or grid. | Coverage;Raster Dataset |
out_transfer_prefix | A four-character prefix used to name each file in the transfer. The prefix may include a pathname to a directory. By default, the files in the transfer will be written to the current workspace. | String |
in_point_cover (Optional) | The name of the Point Coverage to be converted when the transfer type is TVP. This option will be ignored if the transfer type is set to POINT. | Coverage |
out_DD_transfer (Optional) | A four-character prefix for the Master Data Dictionary. A directory named MASTERDD will be created at the same directory level as the Out Transfer directory. This option is used for creating a single master data dictionary for coverages or grids that share a common data dictionary. | String |
Conv_Ctrl_File (Optional) | A file that can be used to add information during translation. The name of this file is defined by the user. | File |
Code sample
SDTSExport example (stand-alone script)
The following stand-alone script demonstrates how to export a polygon coverage to SDTS format.
# Name: SDTSExport_Example.py
# Description: Exports a polygon coverage to SDTS format
# Requirements: ArcInfo Workstation
# Import system modules
import arcpy
from arcpy import env
# Set environment settings
env.workspace = "C:/data"
# Set local variables
SDTSType = "TVP"
inDataset = "stand"
outTransferPrefix = "C:/output/jrdl"
# Execute SDTSExport
arcpy.SDTSExport_arc(SDTSType, inDataset, outTransferPrefix)
Environments
Licensing information
- Basic: No
- Standard: No
- Advanced: Requires ArcInfo Workstation installed