I am trying to label a street centerline layer with a condition based on street width. I am using the Python parser and I can't figure out this simple logic. Neither of these questions address how to accomplish this within the "Label Expression" window of ArcGis using Python:
My attempt at it looks like this:
def FindLabel ( [NAME] ): if [WIDTH] > 30 return [NAME]
GIS returns me an error when I try this.
Any help is much appreciated. Thanks in advance, mike