M Resolution (Environment setting)

Tools that honor the M Resolution environment will apply the m-resolution to output geodatasets. The m-resolution, expressed as a very small distance, refers to the number of significant digits used to store m-values.

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

Usage notes

  • The m-resolution (unlike XY Resolution and Z Resolution environments) of geodatasets created inside a feature dataset is not constrained to match the feature dataset's m-resolution.
  • If the M Resolution environment is not set, tools such as Create Feature Class, Create Feature Dataset, and Create Raster Catalog will set the default m-resolution at 0.0001.

Dialog syntax

M Resolution—The m-resolution to be set on the output geodatasets. Set this environment if the default m-resolution is inadequate.

Scripting syntax

arcpy.env.MResolution = double

ParameterExplanation

double

Sets the m-resolution to be used on output geodatasets. The m-resolution, expressed as a very small distance, refers to the number of significant digits used to store m-values.

MResolution syntax

Script example

import arcpy

# Set the MResolution environment to a double
arcpy.env.MResolution = 0.002