ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • 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 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

M Tolerance (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor the M Tolerance environment will override the default m-tolerance on geodatasets created in a geodatabase.

For a description of the default m-tolerance, see the following topic: Spatial reference and geoprocessing.

Usage notes

  • For tools such as Create Feature Class, Create Feature Dataset, and Create Raster Catalog, the default m-tolerance for the output geodataset is 0.001 meters (1 millimeter) or its equivalent in the vertical coordinate units.
  • If the m-tolerance is less than twice the output geodataset's m-resolution value, an m-tolerance of two times the m-resolution will be used.
  • M-tolerances do not persist in geodatabase versions earlier than 9.2.

Dialog syntax

M Tolerance—The m-tolerance to be set on the geodatasets created by geoprocessing tools. If the default m-tolerance is inadequate, set this environment.

Scripting syntax

arcpy.env.MTolerance = double

ParametersExplanation

double

The m-tolerance to be set on the geodatasets created by geoprocessing tools. If the default m-tolerance is inadequate, set this environment.

MTolerance syntax

Script example

import arcpy

# Set the MTolerance to 0.02
arcpy.env.MTolerance = 0.02

Related topics

  • Spatial reference and geoprocessing
  • The properties of a spatial reference
  • What is a geoprocessing environment setting?
  • Setting geoprocessing environments

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

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