ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

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
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Create UPDM Geodatabase

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

Summary

Populates an existing file or multiuser geodatabase with all feature datasets, feature classes, tables, relationship classes, and domains needed for the Utility and Pipeline Data Model (UPDM) and creates an ALRS with events registered to the chosen network.

Legacy:

ArcGIS Desktop 10.5.1 is the last release that this tool will be available. Starting at 10.6, you can find this tool in GitHub.

Usage

  • The XY and Z tolerance should match that of source data that will be loaded into the networks and events.

Syntax

CreateUPDMGeodatabase_locref (output_gdb, spatial_reference, {measure_unit}, {xy_tolerance}, {z_tolerance}, event_registration_network, {register_p_pipesystem})
ParameterExplanationData Type
output_gdb

The file or multiuser geodatabase where the UPDM ALRS will be created.

Workspace
spatial_reference

The spatial reference for feature datasets and feature classes within the geodatabase.

Spatial Reference
measure_unit
(Optional)

The unit of measure for the M values. This is the unit of measure that will be used for the LRS Networks created by the tool.

  • CENTIMETERS —Centimeters is the unit of measure.
  • DECIMETERS —Decimeters is the unit of measure.
  • FEET —Feet is the unit of measure.
  • INCHES —Inches is the unit of measure.
  • KILOMETERS —Kilometers is the unit of measure.
  • METERS —Meters is the unit of measure.
  • MILES —Miles is the unit of measure.
  • MILLIMETERS —Millimeters is the unit of measure.
  • NAUTICAL_MILES —Nautical Miles is the unit of measure.
  • YARDS —Yards is the unit of measure.
String
xy_tolerance
(Optional)

The XY tolerance for feature datasets and feature classes within the geodatabase. XY resolution will be one-tenth the XY tolerance. M tolerance will be equal to the XY tolerance converted to the selected M unit of measure. M resolution will be one-tenth the M tolerance.

Double
z_tolerance
(Optional)

The Z tolerance for feature datasets and feature classes within the geodatabase. Z resolution will be one-tenth the Z tolerance.

Double
event_registration_network

The network to which events will be registered. Choose Engineering if your events will be registered to the Engineering network and will support lines and events that span routes. Choose Continuous if your events will be registered to the Continuous network and linear events do not need to span routes.

  • CONTINUOUS —Events will be registered to the Continuous network.
  • ENGINEERING —Events will be registered to the Engineering network.
String
register_p_pipesystem
(Optional)

Determines whether all event feature classes in the network will be updated.

  • TRUE — Feature classes within P_PipeSystem will be registered as events.
  • FALSE —Feature classes within P_PipeSystem will not be registered as events. This is the default.
Boolean

Code sample

CreateUPDMGeodatabase example 1 (Python window)

The following Python window script demonstrates how to use CreateUPDMGeodatabase in immediate mode.

# tool variables
output_gdb = "C:/data/UPDM.gdb"
spatial_reference = "NAD 1983 UTM Zone 17N"
measure_unit = "Miles"
xy_tolerance = 0.001
z_tolerance = 0.001
event_measure_storage = "Continuous"
register_p_pipesystem = "True"

# set current workspace
arcpy.env.workspace="C:/data/UPDM.gdb"

# execute the tool
arcpy.CreateUPDMGeodatabase_locref(output_gdb, spatial_reference, measure_unit, xy_tolerance, z_tolerance, event_measure_storage, register_p_pipesystem)
CreateUPDMGeodatabase example 2 (stand-alone script)

The following Python script demonstrates how to use CreateUPDMGeodatabase in a stand-alone Python script.

# Name: CreateUPDMGeodatabase_ex2.py
# Description: Populates an existing file or multiuser geodatabase with all feature datasets, feature classes, tables, relationship classes, and domains needed for the Utility and Pipeline Data Model (UPDM) and creates an ALRS with events registered to the chosen network.
# Requires: ArcGIS Pipeline Referencing

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("LocationReferencing")

# Local Variables
output_gdb = r"C:\data\UPDM.gdb"
spatial_reference = "NAD83 Albers Equal Area, 48 States, Panhandle, US Foot"
measure_unit = "Feet"
xy_tolerance = 0.01
z_tolerance = 0.01
event_measure_storage = "Engineering"
register_p_pipesystem = "False"

# Process: Create UPDM geodatabase
arcpy.CreateUPDMGeodatabase_locref(outputgdb, spatialreference, measure_unit, xy_tolerance, z_tolerance, event_measure_storage, register_p_pipesystem)

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Requires ArcGIS Pipeline Referencing
  • ArcGIS Desktop Advanced: Requires ArcGIS Pipeline Referencing

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2018 Esri. | Privacy | Legal