Part 1 - Introduction to Parcel Fabric layers

Anatomy of a Parcel Fabric

A parcel fabric stores a dataset of connected parcels or parcel network. Parcels are composed of polygon features, line features, and point features. Parcel polygons are defined by lines that store COGO dimensions from the recorded, legal document.

A Parcel Fabric consists of:

  1. A geodatabase topology
  2. A polygon feature class called Records for storing legal document information about a set of parcels.
  3. A point feature class representing the physical, coordinated x,y,z locations on the ground.
  4. A lines feature class called Connection Lines to represent dimensions between points that are not parcel boundaries.
  5. Any number of parcel types

parcel editing image

A parcel type is composed of a polygon and line feature class and can be extended to contain attributes required by an organization. A parcel type consists of a pair of feature classes.

  • A polygon feature class representing the area of a parcel.
  • A COGO enabled line feature class representing the boundary of a parcel.

The cells below will demonstrate how to access the different parts of a parcel fabric

from arcgis import GIS
from arcgis.features.layer import FeatureLayerCollection
base_server_url = (
    "https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/"
)
gis = GIS(
    "https://rextapilnx02eb.esri.com/portal/",
    "gisproadv2",
    "portalaccount1",
    verify_cert=False,
)

# generate the enpoint urls for feature server, version management and parcel fabric
service_endpoints = ["FeatureServer", "ParcelFabricServer", "VersionManagementServer"]
service_urls = {url: base_server_url + url for url in service_endpoints}

[v for k, v in service_urls.items()]
Setting `verify_cert` to False is a security risk, use at your own risk.
['https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/FeatureServer',
 'https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/ParcelFabricServer',
 'https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/VersionManagementServer']

The Parcel Fabric FeatureLayerCollection

A Parcel Fabric is published as an entire set containing the feature classes and topology described above. The FeatureLayerCollection (FLC) provides access to these items as well as the properties and capabilities of the feature service itself.

parcel_fabric_flc = FeatureLayerCollection(service_urls["FeatureServer"], gis)
parcel_fabric_flc.properties.capabilities
'Query,Create,Update,Delete,Uploads,Editing,Sync,ChangeTracking'

Parcel Fabric Feature Layers

[
    f"Layer ID: {layer.id} - Name: {layer.name}"
    for layer in parcel_fabric_flc.properties.layers
    if layer.type == "Feature Layer"
]
['Layer ID: 1 - Name: Records',
 'Layer ID: 3 - Name: Dirty Areas',
 'Layer ID: 4 - Name: Point Errors',
 'Layer ID: 5 - Name: Line Errors',
 'Layer ID: 6 - Name: Polygon Errors',
 'Layer ID: 7 - Name: Points',
 'Layer ID: 8 - Name: Connection Lines',
 'Layer ID: 10 - Name: AdjustmentPoints',
 'Layer ID: 11 - Name: AdjustmentLines',
 'Layer ID: 12 - Name: AdjustmentVectors',
 'Layer ID: 14 - Name: Tax_PF_Lines',
 'Layer ID: 15 - Name: Tax_PF',
 'Layer ID: 17 - Name: ConveyanceDivision_PF_Lines',
 'Layer ID: 18 - Name: ConveyanceDivision_PF',
 'Layer ID: 20 - Name: Block_PF_Lines',
 'Layer ID: 21 - Name: Block_PF',
 'Layer ID: 23 - Name: SimultaneousConveyance_PF_Lines',
 'Layer ID: 24 - Name: SimultaneousConveyance_PF',
 'Layer ID: 25 - Name: Validation Point Errors',
 'Layer ID: 26 - Name: Validation Line Errors',
 'Layer ID: 27 - Name: Validation Polygon Errors']

The ParcelFabricManager object

The Parcel Fabric Manager is responsible for exposing parcel management capabilities to support a variety of workflows from different clients and systems.

from arcgis.features._parcel import ParcelFabricManager

# Create VMS from parcel fabric FLC
version_management_service = parcel_fabric_flc.versions

with version_management_service.get("sde.DEFAULT", "read") as version:
    parcel_fabric_manager = ParcelFabricManager(
        service_urls["ParcelFabricServer"], gis, version, parcel_fabric_flc
    )

parcel_fabric_manager.properties
{
  "name": "Parcel Fabric Server",
  "type": "Map Server Extension",
  "ParcelFabricLayers": 1
}

List operations (methods) possible on a ParcelFabricManager object

[n for n in dir(parcel_fabric_manager) if not n.startswith("_")]
['analyze_least_squares_adjustment',
 'apply_least_squares_adjustment',
 'assign_to_record',
 'build',
 'change_type',
 'clip',
 'copy_lines_to_parcel_type',
 'create_seeds',
 'delete',
 'divide',
 'duplicate',
 'layer',
 'merge',
 'properties',
 'reassign_features_to_record',
 'reconstruct_from_seeds',
 'set_line_label_position',
 'transfer_parcel',
 'update_history']

API Ref Documentation

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.