Select to view content in your preferred language

Shape_Length and Shape_Area labels do not display (Runtime for .NET)

994
1
10-19-2016 04:09 PM
LindsayMarfurt
Deactivated User

I have a map package file which specifies the symbology and labels for my FeatureLayer. I can create and display labels from any attribute EXCEPT Shape_Length or Shape_Area and the labels will display in my application. Labels using Shape_Length or Shape_Area attributes will display only in ArcMap. I've tried this with several different attributes. The FeatureLayer's Labeling property has the same properties each time (except for the TextExpression field, which is "[Shape_Length]" or "[some_other_fieldname]"). How do I display labels which use Shape_Length or Shape_Area?

0 Kudos
1 Reply
KristaHeinrich2
Occasional Contributor

Hi Lindsay, Did you ever find a solution to this issue? ive run into the same thing when publighing a map service in 10.4.1. Labels and features display fine when in ArcMap but upon publishing with the features labelled by shape.Length() the layer vanishes entirely. 

Cheers,

Krista

0 Kudos