
While it has special functionality for spatial data, it serves the same purpose as any other file folder on your computer. When using a geodatabase it’s important to keep in mind that the geodatabase itself is just a container for data. Converting a shapefile into a feature classīy the end, you should be able to work with your layer as a feature class in a geodatabase.This will be broken into two larger parts: This little tutorial will walk you through how to convert a shapefile into a geodatabase feature class using ArcGIS. via Feature Class to Feature Class tool.Converting a shapefile to a feature class.Converting a shapefile into a geodatabase feature class Three methods using ArcGIS This gis tutorial was created by Ryan Cooper on Apfor GSCPC. workspace = "C:/data" # Set local variables inFeatures = outLocation = "C:/output" # Execute FeatureClassToGeodatabase arcpy. # Name: FeatureClassToShapefile_Example2.py # Description: Use FeatureClassToGeodatabase to copy feature classes # to shapefiles # Import system modules import arcpy from arcpy import env # Set environment settings env. Syntax FeatureClassToShapefile_conversion (Input_Features, Output_Folder) Parameter If the output shapefile already exists in the Output Folder, a number will be appended to the end to make the shapefile name unique (for example, rivers_1.shp).

To explicitly control the output shapefile name and for some additional conversion options, see the Feature Class To Feature Class tool. For example, if the input is C:\base.gdb\rivers, the output shapefile will be named rivers.shp. The name of the output shapefile will be the name of the input feature class. They do not support capabilities found in geodatabases such as Names longer than 10 characters, and they cannot store both a date


Support for Unicode character strings, they do not allow field For example, shapefile attributesĬannot store null values they round up numbers, they have poor Shapefiles have many limitations compared to feature classes in a geodatabase. Copies the features from one or more feature classes or layers to a folder of shapefiles.
