Select to view content in your preferred language

order overlapping symbology by attribute

375
1
12-19-2024 04:17 PM
AndresCastillo
MVP Alum
4 1 375

AndresCastillo_0-1734653524555.png

https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/set-the-feature-drawing-order...

in the pic above, it is sorting the drawing order alphabetically.

we'd have to assign a rank/score to each status per record, so it can draw the layer accordingly.

unfortunately, it is only supported within pro, not as web feature layers.

when publishing, we get this warning:

20027: Layer uses advanced renderer settings

Advanced settings are not supported

This is misleading, because when I share this map as a web map from pro, the following json gets added to the operational layer within the web map:

 

 

           "layerDefinition": {
                "orderBy": [
                    {
                        "field": "otp_status",
                        "order": "desc"
                    }
                ]
}

 

 

So, although the layer draw order is not supported directly by the web feature layer, the draw order is able to be applied to the operational layer within a web map.


this setting is controlled directly in the web map by the 'Feature Display Order' property:

AndresCastillo_1-1734653554594.jpeg

 

https://enterprise.arcgis.com/en/portal/11.2/use/set-feature-display-order.htm

 

1 Comment
Contributors
About the Author
I am really interested in Programming. GeoNet MVP.