ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

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

Help

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

M Tolerance (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor this environment will override the default M tolerance on geodatasets created inside a geodatabase.

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

Usage notes

  • For tools like 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 geodatabases of versions older 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.

M Tolerance 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
  • An overview of geoprocessing environments
  • Environment levels and hierarchy
  • Setting geoprocessing environments
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal