<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Automating data migration using Python in ArcGIS Parcel Fabric Videos</title>
    <link>https://community.esri.com/t5/arcgis-parcel-fabric-videos/automating-data-migration-using-python/m-p/1633873#M232</link>
    <description>&lt;P&gt;This video demonstrates how to use Python to automate data migration to the parcel fabric.&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJDWiAxu7NPE%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJDWiAxu7NPE&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJDWiAxu7NPE%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="400" height="225" scrolling="no" title="Automating Data Migration to the Parcel Fabric Using Python" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code used in the script&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

PFName = "ParcelFabric"
ParcelSourceData = "./Parcels.SHP"  # source polygons in current directory
SR = arcpy.Describe(ParcelSourceData).spatialReference  # retrieve the spatial reference of source data
FGDB = arcpy.CreateFileGDB_management("./", "Staging.gdb")  # create a file geodatabase in current directory
FDS = arcpy.CreateFeatureDataset_management(FGDB, "ParcelEditing", SR)  # Create a feature dataset using the spatial reference

#Create Schema
PF = arcpy.CreateParcelFabric_parcel(FDS, PFName)  # Creating a new parcel fabric
(PF, Parcels, Lines) = arcpy.AddParcelType_parcel(PF, "Parcels")  # adding a parcel type
arcpy.AddField_management(Parcels, "RecordName",'TEXT')  # Adding a field for the record name that is used for records creation

# Append Data
arcpy.management.Append(ParcelSourceData, Parcels, "NO_TEST")  # appending source data to parcel polygons

arcpy.edit.SimplifyByStraightLinesAndCircularArcs(Parcels, "0.5 Meters", "FIT_TO_VERTICES",
                                                  "CREATE", 20, 4, "1 Meters", "10000 Meters", 2, "PRESERVE", None) # Fit true curves

arcpy.CreateParcelRecords_parcel(Parcels, "RecordName")  # creating new parcel records
arcpy.BuildParcelFabric_parcel(PF)  # building the parcel fabric&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2025 13:55:49 GMT</pubDate>
    <dc:creator>AmirBar-Maor</dc:creator>
    <dc:date>2025-07-17T13:55:49Z</dc:date>
    <item>
      <title>Automating data migration using Python</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-videos/automating-data-migration-using-python/m-p/1633873#M232</link>
      <description>&lt;P&gt;This video demonstrates how to use Python to automate data migration to the parcel fabric.&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJDWiAxu7NPE%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJDWiAxu7NPE&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJDWiAxu7NPE%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="400" height="225" scrolling="no" title="Automating Data Migration to the Parcel Fabric Using Python" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code used in the script&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

PFName = "ParcelFabric"
ParcelSourceData = "./Parcels.SHP"  # source polygons in current directory
SR = arcpy.Describe(ParcelSourceData).spatialReference  # retrieve the spatial reference of source data
FGDB = arcpy.CreateFileGDB_management("./", "Staging.gdb")  # create a file geodatabase in current directory
FDS = arcpy.CreateFeatureDataset_management(FGDB, "ParcelEditing", SR)  # Create a feature dataset using the spatial reference

#Create Schema
PF = arcpy.CreateParcelFabric_parcel(FDS, PFName)  # Creating a new parcel fabric
(PF, Parcels, Lines) = arcpy.AddParcelType_parcel(PF, "Parcels")  # adding a parcel type
arcpy.AddField_management(Parcels, "RecordName",'TEXT')  # Adding a field for the record name that is used for records creation

# Append Data
arcpy.management.Append(ParcelSourceData, Parcels, "NO_TEST")  # appending source data to parcel polygons

arcpy.edit.SimplifyByStraightLinesAndCircularArcs(Parcels, "0.5 Meters", "FIT_TO_VERTICES",
                                                  "CREATE", 20, 4, "1 Meters", "10000 Meters", 2, "PRESERVE", None) # Fit true curves

arcpy.CreateParcelRecords_parcel(Parcels, "RecordName")  # creating new parcel records
arcpy.BuildParcelFabric_parcel(PF)  # building the parcel fabric&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 13:55:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-videos/automating-data-migration-using-python/m-p/1633873#M232</guid>
      <dc:creator>AmirBar-Maor</dc:creator>
      <dc:date>2025-07-17T13:55:49Z</dc:date>
    </item>
  </channel>
</rss>

