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

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Smooth Line

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

Summary

Esri Defense Mapping cartographic production tool that smooths sharp angles and corners to improve feature display. This tool uses a Defense Mapping-specific algorithm to perform its feature modifications.

Defense Mapping geoprocessing tools Create Contours and EGB Hydro Centerline use this tool to smooth their output features.

Usage

  • This tool changes the input data. This operation cannot be undone.

Syntax

SmoothLine_defense (polyline_features)
ParameterExplanationData Type
polyline_features

The input polylines that will be smoothed.

Feature Layer

Code sample

SmoothLine example (Python window)

The following code demonstrates how to use the SmoothLine tool.

# set gp environment
arcpy.env.workspace="c:/data/MGCP.gdb/MGCP"
arcpy.env.addOutputsToMap=True

# create a feature layer from a polyline feature class
arcpy.MakeFeatureLayer_management("BarrierL","BarrierL")

# execute smooth line
arcpy.SmoothLine_defense("BarrierL")

Environments

  • Current Workspace

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Requires Defense Mapping
  • ArcGIS Desktop Advanced: Requires Defense Mapping

Related topics

  • An overview of the Generalization 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
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2017 Esri. | Privacy | Legal