Create Unregistered Feature Class (Data Management)

License Level:BasicStandardAdvanced

Summary

This tool applies to ArcSDE geodatabases only. It creates an empty, unregistered feature class which is a requirement to create and/or publish to ArcGIS Spatial Data Server.

Usage

Syntax

CreateUnRegisteredFeatureclass_management (out_path, out_name, {geometry_type}, {template}, {has_m}, {has_z}, {spatial_reference}, {config_keyword})
ParameterExplanationData Type
out_path

The ArcSDE geodatabase in which the output feature class will be created.

Workspace;Feature Dataset
out_name

The name of the feature class to be created.

String
geometry_type
(Optional)

The geometry type of the feature class. Only relevant where the dimensionality information is stored in the types metadata, such as Postgres, postgis, and ORACLE SDO.

  • Point
  • Multipoint
  • Polyline
  • Polygon
String
template
[template,...]
(Optional)

An existing feature class or layer to use as a template to define the attribute schema of the output feature class.

Feature Layer
has_m
(Optional)

Determines if the feature class contains linear measurement values (m values).

  • DISABLEDThe output feature class will not have m values. This is the default.
  • SAME_AS_TEMPLATEThe output feature class will have m values if the template has m values.
  • ENABLEDThe output feature class will have m values.
String
has_z
(Optional)

Determines if the feature class contains elevation values (z values).

  • DISABLEDThe output feature class will not have z values. This is the default.
  • SAME_AS_TEMPLATEThe output feature class will have z values if the template has z values.
  • ENABLEDThe output feature class will have z values.
String
spatial_reference
(Optional)

The spatial reference of the output feature dataset. You can specify the spatial reference in several ways:

  • By entering the path to a .prj file, such as C:/workspace/watershed.prj.
  • By referencing a feature class or feature dataset whose spatial reference you want to apply, such as C:/workspace/myproject.gdb/landuse/grassland.
  • By defining a spatial reference object prior to using this tool, such as sr = arcpy.SpatialReference("C:/data/Africa/Carthage.prj"), which you then use as the spatial reference parameter.

Spatial Reference
config_keyword
(Optional)

Determines the storage parameters of the database table.

String

Code Sample

CreateUnRegisteredFeatureClass example (Python window)

arcpy.CreateUnRegisteredFeatureclass_management("Database Servers\\SQLEXP.gds\\FirstDB (VERSION:dbo.DEFAULT)", "New_FC", "POINT","","DISABLED", "DISABLED","","")

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: Yes
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
11/18/2013