<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to remove M aware in Python script?  in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377264#M29771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally solved the issue by hacking the EFLAG value in layer, changing the corresponding binary value from 1 to 0. It is only needed for arcgis 10.4. For 10.5, you can configure it in the arcgis manager.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 23:21:27 GMT</pubDate>
    <dc:creator>YufengGou</dc:creator>
    <dc:date>2017-03-08T23:21:27Z</dc:date>
    <item>
      <title>How to remove M aware in Python script?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377261#M29768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I write a GP tool to create and publish Feature service automatically. The Data is stored in Oracle and we upgrade it to be a GeoDatabase. I use MakeFeatureLayer_management to create a layer and publish it as an editable Feature Service. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Oracle GType 4001, oracle treat it as no measure data, but ESRI will treat it as m aware. So how can I disable the m aware in the script? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 18:40:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377261#M29768</guid>
      <dc:creator>YufengGou</dc:creator>
      <dc:date>2016-06-24T18:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove M aware in Python script?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377262#M29769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would look into the &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/output-has-m-values.htm"&gt;outputMflag environment&lt;/A&gt;​ setting, although it looks like Make Feature Layer doesn't use that environment setting. You may have to write a new file to disk using a tool like &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm"&gt;Copy Features&lt;/A&gt; first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 19:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377262#M29769</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-06-24T19:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove M aware in Python script?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377263#M29770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much. I and new to GIS and may my question is stupid. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work flow for my current implementation to create and publish an editable feature service is: Register the table to geodatabase --&amp;gt; Create a Feature layer against the table (MakeFeatureLayer_management) --&amp;gt;add layer to empty map (arcpy.mapping.AddLayer) --&amp;gt; copy map to scratch file --&amp;gt; publish.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My concern is: we need to edit the feature service in other apps by JS rest call, is the copy feature method will syn the data as we expected? if yes, when we set up the env to be hasM disabled, does it overwrite the old data with m values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client asked us to keep the old data as it is, and disable the hasM. Not sure if there is a way....... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 13:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377263#M29770</guid>
      <dc:creator>YufengGou</dc:creator>
      <dc:date>2016-06-27T13:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove M aware in Python script?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377264#M29771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally solved the issue by hacking the EFLAG value in layer, changing the corresponding binary value from 1 to 0. It is only needed for arcgis 10.4. For 10.5, you can configure it in the arcgis manager.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 23:21:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-remove-m-aware-in-python-script/m-p/377264#M29771</guid>
      <dc:creator>YufengGou</dc:creator>
      <dc:date>2017-03-08T23:21:27Z</dc:date>
    </item>
  </channel>
</rss>

