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

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

  • 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