Splitting of polygons in ArcGIS Pro 2.3 changes my features and symbology

8731
24
Jump to solution
01-28-2019 08:11 AM
AdrianWelsh
MVP Honored Contributor

I just upgraded to Pro 2.3 and am doing the exact same process I did in 2.2 but with different results (same day).

I have a polygon feature in a file geodatabase that is symbolized based on a domain I have set up.

When I use the Split tool to divide up my polygon, the new resulted split polygons change all my domains to null.

This is more of a potential bug report than anything else. But, has anyone else seen this?

1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus
There are so many "split" tools now, is it this one

http://pro.arcgis.com/en/pro-app/tool-reference/analysis/split.htm

which has this warning

Caution:

Geoprocessing tools do not honor geodatabase feature class or table field split policies.

which lead to 

http://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-domains.ht...

View solution in original post

24 Replies
DanPatterson_Retired
MVP Emeritus
There are so many "split" tools now, is it this one

http://pro.arcgis.com/en/pro-app/tool-reference/analysis/split.htm

which has this warning

Caution:

Geoprocessing tools do not honor geodatabase feature class or table field split policies.

which lead to 

http://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-domains.ht...

AdrianWelsh
MVP Honored Contributor

Good question. For my splitting, it is the Split tool that is in my Edit ribbon

I do not have split policies set up (and didn't know they existed until you shared that article!). So, my feature class should behave as the "default value". The default value says:

  • Default value—The attributes of the two resulting features take on the default value for the attribute of the given feature class or subtype.

If there is not default value, I suppose that it must be "null".... That's rather a pain. I want my splitting to go back to how things were in 2.2 and prior, which is apparently "duplicate value"

  • Duplicate—The attribute of the two resulting features takes on a copy of the original object's attribute value.

Now, I guess I need to figure out where to set my splitting policies. I did not see how to do so in a quick glance in the Settings, so I'll keep looking around. But, I guess this is likely the answer

AdrianWelsh
MVP Honored Contributor

duh, it's in my Domain settings.......

Weird. One weird change I'll have to always remember in 2.3.

Thanks Dan!

JuliaNoran1
New Contributor II

So, do you suppose this change in domain settings from default to duplicate has to be made for use in all future versions of Pro? This is expected behavior and not a 2.3 bug?

AdrianWelsh
MVP Honored Contributor

Julia,

Good question. I am going to tag Kory Kramer‌ on that since he might have a good answer.

0 Kudos
RémiBaranoff1
New Contributor

hi,

here a script for update all your domain:

import arcpy

domains = arcpy.da.ListDomains(r"your connection.sde")

for domain in domains:
    arcpy.management.AlterDomain(r"your connection.sde", format(domain.name), "", "", "Duplicate", "DEFAULT")
AdrianWelsh
MVP Honored Contributor

Thanks Rémi! For projects with lots of domains, this is terrific! 

0 Kudos
MatthewDriscoll
MVP Alum

Kory Kramer

I would also like to know if this is a bug and not to be the expected behavior in future versions.

Scott_Harris
Esri Regular Contributor

Hi Matthew,

The behavior is expected since the Split tool will respect the split policy that is defined on the source geodatabase. This is mentioned in the documentation for the Split tool: Split a feature—ArcGIS Pro | ArcGIS Desktop 


You can check the split policy by right-clicking on the layer in the Contents pane > Design > Domains. The Split Policy will be listed here. It sounds like your data could be set "Default", but perhaps you want to set it to "Duplicate".

Thanks,

Scott