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 Template From Network Dataset

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

Summary

Creates a file containing the schema of an existing network dataset. This template file can then be used to create a new network dataset with the same schema.

Usage

  • This tool creates a network template file (.xml) containing the schema of an existing network dataset. Use the Create Network Dataset From Template tool with this schema to make a new network dataset.

Syntax

CreateTemplateFromNetworkDataset_na (network_dataset, output_network_dataset_template)
ParameterExplanationData Type
network_dataset

The network dataset whose schema will be written to the output template file.

Network Dataset Layer
output_network_dataset_template

The output file (.xml) that will contain the schema of the input network dataset.

File

Code sample

CreateTemplateFromNetworkDataset example (Python window)

Execute the tool using all parameters.

network = "C:/data/SanDiego.gdb/Transportation/Streets_ND"
output_xml_file = "C:/data/NDTemplate.xml"
arcpy.na.CreateTemplateFromNetworkDataset(network, output_xml_file)

Environments

  • Current Workspace

Licensing information

  • ArcGIS Desktop Basic: Requires Network Analyst
  • ArcGIS Desktop Standard: Requires Network Analyst
  • ArcGIS Desktop Advanced: Requires Network Analyst

Related topics

  • An overview of the Network Dataset toolset

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 © 2019 Esri. | Privacy | Legal