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

Output M Domain (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor the Output M Domain environment will generate output datasets with the specified measure (m)-domain.

Usage notes

  • Unlike x,y and z-domains, the m-domain of a feature class inside a feature dataset is not constrained to match the feature dataset's m-domain. Feature classes created inside a feature dataset will get their m-domain from the Output M Domain environment, not from the feature dataset.
  • If the M Resolution environment is set as well as the Output M Domain environment, the resolution value is used in combination with the domain's minimum value.
  • It is recommended that you use the M Resolution in conjunction with the Output M Domain environment to avoid creating a dataset with extremely small resolution value. Extremely small resolution value can cause poor performance of the software when the data is used.

Dialog syntax

  • Same as Input—Use the m-domain from input data.
  • As Specified Below—Use the fields below to specify the domain range:
    • Min M—Minimum m-value
    • Max M—Maximum m-value

Scripting syntax

arcpy.env.MDomain = "mMin mMax"

ParameterExplanation

"mMin mMax"

  • mMin—Minimum m-value.
  • mMax—Maximum m-value.

Setting the m-domain to an empty string will default to using the m-domain from input data.

MDomain syntax
import arcpy

# Set the MResolution first
arcpy.env.MResolution = 0.0001 

# Then set the MDomain (only the origin will be used when the resolution is set)
arcpy.env.MDomain = "0 10000000"

Related topics

  • What is a geoprocessing environment setting?
  • Setting geoprocessing environments

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