Select to view content in your preferred language

Utility Network Sewer Main Lines: Labeling Issue

108
3
yesterday
Labels (1)
Bloper
by
Emerging Contributor

Hello, 

I have created a custom Label Expression for our wastewater main lines, lateral lines, and manhole assets. The custom labeling is requested from our Sewer Collections crew and this is what they want to see in their web maps for Experience Builder and Field Map:

Bloper_0-1782934740199.png

 

When publishing from ArcGIS Pro to our portal, and creating a Map Image services, the labeling carries through to the web map with no issue. But unfortunately, the feature service equivalent in a web map DOES NOT carry the standard labeling.  

To my understanding, the difference in labeling behavior stems from how each service renders data: a Map Image Service uses server-side rendering, where the ArcGIS Enterprise server processes raw data, applies advanced Maplex labeling, and streams flat, pre-rendered images that perfectly mirror your ArcGIS Pro layout. Conversely, a Feature Service uses client-side rendering, streaming raw vector geometries and attributes via JSON directly to the browser, forcing the web application's JavaScript engine to draw the features and place the labels on the fly. I could be wrong on this. 

But we want to use feature services in the Experience Builder and Field Map applications to grant the end-users the ability to edit their wastewater data. 

Any solutions, or workarounds, to bring in our custom labeling expression from arcgis pro into a feature service to use in a webmap. 

0 Kudos
3 Replies
RobertKrisher
Esri Regular Contributor

Create a web map pointed at the feature service using the desired label expression and placement properties. Then reference that web map in your experience builder and field map applications.

0 Kudos
Bloper
by
Emerging Contributor

Hi Robert, 
Thank you for the reply! 
This is the labeling standard that we want and are achieving in Pro and in a Map Image service:

Bloper_0-1782947195260.png


But this is what we are getting when putting the Feature Service, with the same labeling expression, into a web map and viewed via Experience Builder:

Bloper_1-1782947282147.png

  1. We lose the 'Center-straight' placement for the sewer main label.
  2. The length label for the sewer laterals are center and not 'place at end of feature'.
  3. For the manholes, we lose our white-circle callout for the number label.
I am not sure why the Map Image service retains the custom label expression, while the Feature Service equivalent does not. 

We're on ArcGIS Pro 3.7 and Enterprise 12.0. 


Look forward to your response. Thank you for your time sir.
0 Kudos
RobertKrisher
Esri Regular Contributor

There are some differences between the labeling engine of ArcGIS Enterprise/ArcGIS Pro and the JavaScript labeling engine. Because this is a Web Map question I'd recommend you check that community for recommendations about which label settings to use/avoid.