Select to view content in your preferred language

Label Expression for just one polygon

772
2
Jump to solution
06-25-2019 12:16 PM
JoeBorgione
MVP Emeritus

As described in https://community.esri.com/thread/235850-symbolize-by-mean-arcade as well as https://community.esri.com/thread/235847-mean-for-all-features-not-just-one-arcade, I have a polygon feature class that is the result of appending monthly delivery data per (zipcode) polygon.  I'd like to label just one instance of each zipcode, and I'm trying to figure out a Python ( or other) expression to do so. Basically, I have 12 polygons 'stacked' on top of each other, so if I do a simple label class, I get all 12 labels: I only need one.

That should just about do it....
0 Kudos
1 Solution

Accepted Solutions
XanderBakker
Esri Esteemed Contributor

I see that you have a year and month field in your data. I it possible to define a label class and query for a certain month?

View solution in original post

2 Replies
XanderBakker
Esri Esteemed Contributor

I see that you have a year and month field in your data. I it possible to define a label class and query for a certain month?

JoeBorgione
MVP Emeritus

I like that idea...  Let me chase it down and I'll post up what I figure out....

eta:  A simple sql expression of Month = 1 is all it took!

In ArcMap, I use this Python expression to get the same results:

That should just about do it....