ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Create Unregistered Feature Class

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

This tool creates an empty feature class in a database or enterprise geodatabase. The feature class is not registered with the geodatabase.

Usage

  • The Feature Class Location (database or enterprise geodatabase) must already exist.

  • This tool creates only simple feature classes such as point, multipoint, polygon, and polyline. Custom feature classes such as annotation, dimensions, and relationship class are created in the Catalog window or in ArcCatalog.

  • An empty feature class created by this tool will have either a field named OBJECTID of type integer or will contain the same field names and types of any selected input template feature class.

  • This tool can only be run as a foreground process.

    Learn more about foreground versus background processing

Syntax

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

The enterprise geodatabase or database 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 for those geometry types that store dimensionality metadata, such as ST_Geometry in PostgreSQL, PostGIS Geometry, and Oracle SDO_Geometry.

  • 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).

  • DISABLED —The output feature class will not have m values. This is the default.
  • SAME_AS_TEMPLATE —The output feature class will have m values if the template has m values.
  • ENABLED —The output feature class will have m values.
String
has_z
(Optional)

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

  • DISABLED —The output feature class will not have z values. This is the default.
  • SAME_AS_TEMPLATE —The output feature class will have z values if the template has z values.
  • ENABLED —The 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 feature class in an enterprise geodatabase.

String

Code sample

CreateUnRegisteredFeatureClass example (Python window)

arcpy.CreateUnRegisteredFeatureclass_management(r'Database Connections\Connection to Organization.sde', "New_FC", "POINT", "", "DISABLED", "DISABLED")

Environments

  • Current Workspace
  • Output CONFIG Keyword

Licensing information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related topics

  • An overview of the Feature Class toolset

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal