Select to view content in your preferred language

Network diagram symbol incorrect when viewing on web app

577
7
Jump to solution
a week ago
GISUser1619_Nguyen
Occasional Contributor

Hi guy,

I got issue when viewing network diagram on Web app.

When I create and view in ArcGIS Pro, symbol correct same with map view.

But when I try to view on Web Map, it not correct. I found someone get same trouble in group but don't have solution yet, it look like when viewing on Web map, subtype group layer make problem?

Please share any information

Thank you so much.

0 Kudos
1 Solution

Accepted Solutions
AnneYvonneBlin
Esri Contributor

Hello @GISUser1619_Nguyen 
Indeed, you are right; this is a known issue that is in the pipe to be fixed in near term. When working in web apps, there is no issue when the network diagram map service ressource uses standard layers, but it doesn't properly work when it uses subtype group layers.
During the last release cycle, we began collaborating with the map server team to ensure support for network diagram layers on the web, whether they use standard layers or group subtype layers and we did good progress. I hope this fix to be relased this year.
Thanks for your patience
Anne-Yvonne

View solution in original post

7 Replies
RobertKrisher
Esri Regular Contributor

In ArcGIS Pro each network diagram has its own set of layer definitions, which is essentially its own map. When you are creating a web map to view network diagrams in the web, you should ensure the web map you're using has a similar set of symbology and label expressions. You could try opening the network diagram in ArcGIS Pro, pointing the layers at the feature service for your network diagrams, fixing any issues with labeling/symbology, then publishing that as a web map used by your network diagram viewer app.

Are you using a custom application to view the network diagrams in the web?

0 Kudos
GISUser1619_Nguyen
Occasional Contributor

Hi Robert

I using sample Web app in this link, provide by AnneYvonneBlin

web app example to manage network diagram using JS... - Esri Community

I create Diagram by Symbol map with subtype group layer and run Create Diagram Layer Definition, Pic 1

Diagram is created and view okie in Pro, Pic 2

But when I store this diagram and try to view on web app by using sample web app code, it make mistake in symbology, For example: Symbol Circuit Breaker -> Transformer, High Voltage Line -> Medium Voltage Line,  An issue seems to occur in symbol rendering within a feature class, likely caused by the separation of Subtype Group Layers. Pic 3, 4

Do you have any recommend?

 

0 Kudos
GISUser1619_Nguyen
Occasional Contributor

Hi Robert

I just update my workflow to make diagram in video 

Recording_Error_NetworkDiagram.mp4

Thank you!

0 Kudos
GISUser1619_Nguyen
Occasional Contributor

I just update one thing

If I run Create Diagram Layer Definition with No Subtype Group Layer, look like Network Diagram symbol can view correct in ArcGIS Pro and Web App showing in attachment.

I not sure it is limit of network diagram as link or not if we have map with too many symbology with Subtype Group Layer.

https://pro.arcgis.com/en/pro-app/3.4/help/data/network-diagrams/refine-the-diagram-layer-definition...

 

0 Kudos
RobertKrisher
Esri Regular Contributor

@AnneYvonneBlin Do you have any ideas about what could be going wrong?

0 Kudos
AnneYvonneBlin
Esri Contributor

Hello @GISUser1619_Nguyen 
Indeed, you are right; this is a known issue that is in the pipe to be fixed in near term. When working in web apps, there is no issue when the network diagram map service ressource uses standard layers, but it doesn't properly work when it uses subtype group layers.
During the last release cycle, we began collaborating with the map server team to ensure support for network diagram layers on the web, whether they use standard layers or group subtype layers and we did good progress. I hope this fix to be relased this year.
Thanks for your patience
Anne-Yvonne

GISUser1619_Nguyen
Occasional Contributor

HI @AnneYvonneBlin 

Thank you for your prompt response to this issue. I will try to resolve it by reviewing the number of symbol classes defined using the Create Diagram Definition tool. Hopefully, this will be addressed in the upcoming update to ensure consistency between maps using Subtype Group Layers and Network Diagrams.
Thank you so much!
0 Kudos