<?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: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1094745#M7094</link>
    <description>&lt;P&gt;Hi Karen,&lt;/P&gt;&lt;P&gt;I'm a product engineer with ESRI on the geoprocessing and geometry teams. I was asked to consult on a part of the issue you are running into. The trigger to the problem is the input feature class having 'bad' spatial reference properties.&amp;nbsp; I found that your xy Tolerance was set to 0. This causes the failure. If you recreate the feature class following the the instructions here - &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/geoprocessing-resolution-tolerance-and-hair/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/geoprocessing-resolution-tolerance-and-hair/&lt;/A&gt; you should be able to fix your feature class and avoid the failure.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be very helpful if you could share how this feature class was created in this way with an invalid xy Tolerance Spatial Reference property.&amp;nbsp; If it was one of our tools... it would be something we would like to fix.&lt;/P&gt;&lt;P&gt;Thanks. Ken&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 23:34:22 GMT</pubDate>
    <dc:creator>KenHartling</dc:creator>
    <dc:date>2021-09-01T23:34:22Z</dc:date>
    <item>
      <title>In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086281#M6987</link>
      <description>&lt;P&gt;My company's software is used internationally so we test with different operating system (Windows) regional settings (i.e., various country specific numeric formats).&amp;nbsp; One section of our code uses the EditOperation Modify method to change some geometries.&amp;nbsp; This code works fine in ArcGIS Pro v2.6.x and v2.7.x with different regional settings, but in v2.8.1 when the regional settings are set to a region that uses a comma instead of a decimal point as the decimal separator, it no longer works correctly.&amp;nbsp; Specifically, the changed geometries end up with shape area = 0 and they disappear from the map.&amp;nbsp; If I go into the Windows 10 region settings and manually change the decimal symbol to a point, it works fine again, so the decimal separator is the problem.&amp;nbsp; Has anyone else encountered this?&amp;nbsp; Any work-arounds?&amp;nbsp; This seems to be a bug....&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 18:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086281#M6987</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-05T18:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086404#M6988</link>
      <description>&lt;P&gt;Hi Karen,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you perhaps answer a few questions about your scenario to help us track this problem down.&amp;nbsp; &amp;nbsp;I am currently unable to reproduce on 2.8 final, 2.8.1 or even our current build.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;- Are you using file geodatabase or enterprise data?&amp;nbsp;&amp;nbsp;If enterprise, what database platform (Oracle, SQL etc)&lt;/P&gt;&lt;P&gt;- What overload of EditOperation.Modify are you using?&amp;nbsp; Are you modifying geometry or attributes or geometry and attributes.&amp;nbsp; &amp;nbsp;I tested using this overload passing only the layer, oid and geometry (No attributes).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public void Modify(Layer layer, long oid, Geometry geometry, Dictionary&amp;lt;string, object&amp;gt; attributes = null);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Is there anything special about your data; ie does it participate in a topology, utility network etc?&amp;nbsp; &amp;nbsp; I was just using a polygon layer inserted via Map Notes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I was using France as my region ensuring that the decimal separator was the comma.&amp;nbsp; Can you duplicate the problem with many different regions that use the comma as the decimal separator?&lt;/P&gt;&lt;P&gt;- Finally, maybe this is obvious, but have you verified via the debugger that the new geometry shape is a non empty geometry before passing it to EditOperation.Modify?&amp;nbsp; (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic8175.html" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic8175.html&lt;/A&gt;)&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any answers you can provide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 23:09:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086404#M6988</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2021-08-05T23:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086408#M6989</link>
      <description>&lt;P&gt;Hi Narelle,&lt;/P&gt;&lt;P&gt;I am only modifying the geometry (no attributes).&amp;nbsp; The data is file geodatabase data (polygons) and there isn't anything special about it.&amp;nbsp; I was using German (Germany) as the region.&amp;nbsp; The problem occurred for me in 2.8, 2.8.1 and 2.8.2. An the problem is very consistent - it happens every time.&amp;nbsp; The exact same add-in works fine in 2.6 and 2.7.4.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I have verified that the geometries aren't empty.&amp;nbsp; And I am using the same overload that you did - layer, oid, geometry.&amp;nbsp; I'm basically replacing the geometries in one feature class with geometries from another.&amp;nbsp; I'd be happy to show you what is happening if you want a demo.&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 23:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086408#M6989</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-05T23:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086547#M6990</link>
      <description>&lt;P&gt;Hallo Karen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I will setup a test system with German language and region and try to reproduce your issue.&amp;nbsp; Can you tell me the projections that you are using for your geometries (both the feature class that you are modifying and the feature class from where you copy the data)?&amp;nbsp; Or maybe you can attach a sample dataset to your reply.&lt;/P&gt;&lt;P&gt;Wolf&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 13:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086547#M6990</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-08-06T13:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086734#M6991</link>
      <description>&lt;P&gt;Hi Karen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was not able to duplicate the issue you are seeing.&amp;nbsp; I attached my test add-in (2.8.2) and my test project.&amp;nbsp; You click a button on the test add-in it first creates a new feature and then updates the same feature on subsequent clicks.&amp;nbsp; Also, is it possible that the geometry you are copying into the modified feature is disposed by the time you are calling editOperation.Execute()?&amp;nbsp; Note that in my sample I use .Clone() to prevent this from happening.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// search the source for the matching parcel record
// copy only one polygon
Geometry parcelPolygon = null;

using (var cursor = sourceLayer.Search(new QueryFilter() { WhereClause = selectionSourceQuery }))
{
	if (cursor.MoveNext())
	{
		using (var parcelFeature = cursor.Current as Feature)
		{
			// note: cloning the gemetry makes sure that the 
			// geometry persists outside the context of the cursor
			parcelPolygon = parcelFeature.GetShape().Clone();
		}
	}
}&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Aug 2021 18:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1086734#M6991</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-08-06T18:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087312#M6992</link>
      <description>&lt;P&gt;Hi Wolf,&lt;/P&gt;&lt;P&gt;I tried using my own data with your code, and it doesn't work in there even with a regular decimal point!&amp;nbsp; I'm not sure what's going on.&amp;nbsp; I've attached a project for you to take a look at and my changes to the visual studio solution.&amp;nbsp; This code is changing objectID 117 in the Modify feature to class to the geometry from objectID 1 in the Source feature class.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that in my existing code it still works correctly with a decimal point but not with&amp;nbsp; a decimal comma in 2.8, but it works with both in 2.6.x and 2.7.x.&amp;nbsp; Also, the code with developed in 2.6, but it builds fine and works fine (except for this one issue) in 2.8.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 23:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087312#M6992</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-09T23:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087482#M6996</link>
      <description>&lt;P&gt;Thanks Karen,&lt;/P&gt;&lt;P&gt;Thangs for the sample data.&amp;nbsp; &amp;nbsp;I am able to replicate what you are seeing with your data, however, in my tests the copied geometry is 'nulled' regardless on my language / region settings.&amp;nbsp; I will let you know what i find.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 15:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087482#M6996</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-08-10T15:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087548#M6997</link>
      <description>&lt;P&gt;Thanks Wolf!&amp;nbsp; I'm glad you were able to replicate it.&amp;nbsp; I was seeing the same thing - it doesn't work regardless of region setting.&amp;nbsp; It's in my original code that it only fails with the European number settings.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you are able to solve this issue - it would be really helpful!&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 16:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087548#M6997</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-10T16:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087628#M6999</link>
      <description>&lt;P&gt;Hi Karen,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;We are still trying to figure out what exactly is causing this issue.&amp;nbsp; It appears to be data related.&amp;nbsp; In the meantime I received a workaround that will fix this issue for the time being.&amp;nbsp; &amp;nbsp;The workaround writes over the 'null' geometry in an EditOperation call back, it is using the Geodatabase API to do so.&amp;nbsp; The Geodatabase API doesn't seem to have any problems&amp;nbsp; with the data.&amp;nbsp; I modified the code you sent me with the EditOperation call back workaround below.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        protected override async void OnClick()
        {
            var sourceLayerName = "Source";
            var modifyLayerName = "Modify";
            var SourceFieldName = "OBJECTID";
            var ModifyFieldName = "OBJECTID";

            var selectionSourceQuery = $@"{SourceFieldName} = 1";
            var selectionModifyQuery = $@"{ModifyFieldName} = 117";

            var sourceLayer = MapView.Active.Map.GetLayersAsFlattenedList().Where((l) =&amp;gt; l.Name == sourceLayerName).FirstOrDefault() as FeatureLayer;
            if (sourceLayer == null)
            {
                MessageBox.Show($@"Unable to find {sourceLayerName} in the active map");
                return;
            }
            var modifyLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType&amp;lt;FeatureLayer&amp;gt;().FirstOrDefault(f =&amp;gt; f.Name == modifyLayerName);
            if (modifyLayer == null)
            {
                MessageBox.Show($@"Unable to find {modifyLayerName} in the active map");
                return;
            }
            await QueuedTask.Run(() =&amp;gt;
            {
                // search the source for the matching parcel record
                // copy only one polygon
                Geometry sourcePolygon = null;

                using (var cursor = sourceLayer.Search(new QueryFilter() { WhereClause = selectionSourceQuery }))
                {
                    if (cursor.MoveNext())
                    {
                        using (var myFeature = cursor.Current as Feature)
                        {
                            sourcePolygon = myFeature.GetShape().Clone();
                        }
                    }
                }
                if (sourcePolygon == null)
                {
                    MessageBox.Show($@"The add-in was not able to find a parcel where '{selectionSourceQuery}' is true.");
                    return;
                }

                using (Table table = modifyLayer.GetTable())
                {
                    EditOperation editOperation = new EditOperation
                    {
                        Name = "Modify a geometry callback"
                    };
                    editOperation.Callback(context =&amp;gt;
                    {
                        QueryFilter filter = new QueryFilter { WhereClause = selectionModifyQuery };
                        using (RowCursor rowCursor = table.Search(filter, false))
                        {
                            while (rowCursor.MoveNext())
                            {
                                using (Feature feature = (Feature)rowCursor.Current)
                                {
                                    // In order to update the Map and/or the attribute table.
                                    // Has to be called before any changes are made to the row.
                                    context.Invalidate(feature);

                                    feature.SetShape(sourcePolygon);
                                    //After all the changes are done, persist it.
                                    feature.Store();

                                    // Has to be called after the store too.
                                    context.Invalidate(feature);
                                }
                            }
                        }
                    }, table);

                    // create the polygon feature
                    editOperation.Modify(modifyLayer, 117, sourcePolygon);
                    if (!editOperation.Execute())
                    {
                        MessageBox.Show($@"Unable to create a new '{sourceLayer}' record: {editOperation.ErrorMessage}");
                    }
                }
            });
        }&lt;/LI-CODE&gt;&lt;P&gt;I will give you an update on our findings.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 19:07:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087628#M6999</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-08-10T19:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087637#M7000</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp; I will give this a try.&amp;nbsp; Will this call back operation work in Pro v2.6 and 2.7?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 19:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087637#M7000</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-10T19:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087650#M7002</link>
      <description>&lt;P&gt;Hi Wolf,&lt;/P&gt;&lt;P&gt;When I try this code I get an error on line 64 (SetShape)&amp;nbsp; that says "Geometry cannot have Z values".&amp;nbsp; This is using the same data I sent you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 19:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087650#M7002</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-10T19:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087657#M7003</link>
      <description>&lt;P&gt;Hi Wolf,&lt;/P&gt;&lt;P&gt;When I try this code I get an error on line 64 (SetShape) that says "Geometry cannot have z-values".&amp;nbsp; This is using the same data I sent you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 20:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087657#M7003</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-10T20:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087662#M7005</link>
      <description>&lt;P&gt;Strange, both feature classes you sent me have 'No Z values'.&amp;nbsp; &amp;nbsp;That would mean that z-values got added to the geometry.&amp;nbsp; Can you double check your feature classes ?&amp;nbsp; I used v 2.8.2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wolf_0-1628627274404.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20573i4B50C916C39B437E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wolf_0-1628627274404.png" alt="Wolf_0-1628627274404.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 20:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087662#M7005</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-08-10T20:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087710#M7007</link>
      <description>&lt;P&gt;Something was weird was going on with the data I was using (which was different that what I sent you).&amp;nbsp; It seems to be working now.&amp;nbsp; Yay!&lt;/P&gt;&lt;P&gt;Am I correct in assuming this line doesn't need to be in there?:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;editOperation.Modify(modifyLayer, 117, sourcePolygon);&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 22:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087710#M7007</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-10T22:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087982#M7012</link>
      <description>&lt;P&gt;No, you have to leave the editOperation.Modify line in the code, even so your 'sourcePolygon' will be overwritten in the callback.&amp;nbsp; The&amp;nbsp;editOperation.Modify triggers the callback, the callback in turn then writes the 'untouched' sourcePolygon geometry through the geodatabase API.&amp;nbsp;&lt;BR /&gt;We know at this point that there is some problem with the sourcePolygon geometry, we don't know what the exact problem is yet.&amp;nbsp; The reason why you get an empty geometry is because EditOperation will 'simplify' every geometry before saving it in the geodatabase.&amp;nbsp; Apparently this 'simplification'&amp;nbsp; is the not working correctly and results in an empty geometry.&amp;nbsp; We are trying to find what the issue with the geometry is and also a method to fix it.&amp;nbsp; We tried some of the GP tools to fix the geometry but those had the same problem.&amp;nbsp; &amp;nbsp;Anyways i will keep you updated on our progress, but for now that's the only workaround we have.&amp;nbsp; Also remember that your geometry still has an issue even once you write it directly into the geodatabase, so editing in Pro will not work for this geometry.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 16:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087982#M7012</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-08-11T16:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087988#M7013</link>
      <description>&lt;P&gt;Thanks Wolf,&lt;/P&gt;&lt;P&gt;Please keep me updated on what you find out about the data issue. These exact same geometries worked fine in v2.6 and 2.7, so I can't help but think that something in Pro changed in 2.8 to cause this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use your "call back" code in my application (as opposed to in the solution you sent, where I had it working), I keep getting the&amp;nbsp;&lt;SPAN&gt;"Geometry cannot have z-values" error on the SetShape() method even though the data doesn't have z-values!?!?&amp;nbsp; Very strange..... and also a bit frustrating.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 16:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087988#M7013</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-11T16:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087996#M7014</link>
      <description>&lt;P&gt;Hi Karen,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if this is obvious again, but can you confirm that your geometry itself is not Z enabled prior to the EditOperation.Callback function&amp;nbsp; -&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic8174.html" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic8174.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though your feature classes are not Z-enabled, and your source data from the feature classes are not Z-anabled,&amp;nbsp; some geometry routines may add the&amp;nbsp; Z flag to your geometry if you are doing certain manipulations between retrieving the geometry from the feature class and then storing it in the second feature class.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 16:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1087996#M7014</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2021-08-11T16:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1088000#M7015</link>
      <description>&lt;P&gt;Hi Narelle,&lt;/P&gt;&lt;P&gt;I checked and the individual geometry DOES show HasZ = true, even though the feature class is not z-enabled.&amp;nbsp; Is there any way I can set the z flag to false?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:05:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1088000#M7015</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-11T17:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1088005#M7017</link>
      <description>&lt;P&gt;Karen,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code should create you a polygon without Z.&amp;nbsp; &amp;nbsp;Because geometries are immutable, you need to use a geometry builder object, manipulate the Z flag and then obtain a new geometry.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Polygon polygonNoZ = null;
// needs to run on MCT
using (var builder = new PolygonBuilder(polygon))
{
  builder.HasZ = false;
  polygonNoZ = builder.ToGeometry();
}
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I would also recommend trying to determine which line of code turned your non Z-enabled source data into Z-enabled polygons.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Narelle&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1088005#M7017</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2021-08-11T17:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: In v2.8.1 EditOperation Modify method not working correctly with European comma decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1088008#M7019</link>
      <description>&lt;P&gt;Thanks Narelle!&amp;nbsp; I will give that a try.&lt;/P&gt;&lt;P&gt;The geometry is z-enabled as soon as I retrieve it from the non-z-enabled feature class.&amp;nbsp;If it's possible to save a z-enabled polygon in a non-z-enabled feature class, I supposed it could have happened when the polygon was initially created and saved.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/in-v2-8-1-editoperation-modify-method-not-working/m-p/1088008#M7019</guid>
      <dc:creator>KarenMeinstein</dc:creator>
      <dc:date>2021-08-11T17:25:24Z</dc:date>
    </item>
  </channel>
</rss>

