When configuring data symbolized using military symbology for use in a web application, there are a few things to consider:
Web applications built using the JavaScript API 3.x for ArcGIS include Web AppBuilder, ArcGIS Dashboards (Classic), and Map Viewer Classic. These apps require publishing both a map image service (so that the server can render the military symbols correctly) and a feature service to support dynamic data and editing. We break down that workflow below.
Getting Started
Before preparing your data, it’s important to know that hosted feature layers are not supported for this workflow. Therefore, an enterprise geodatabase registered as a data store in ArcGIS Enterprise portal is required to store your data.
If you don’t have an enterprise geodatabase already, follow these steps to create one. Otherwise, connect to an existing enterprise geodatabase.
Preparing Your Data
You will need to create a schema in your Enterprise Geodatabase to store the data and then configure the data as layers in ArcGIS Pro using with the Dictionary Renderer. You can either do this by creating the schema from scratch (if the data will be imported or fed from another system such as GeoEvent Server) and adding layers to the map manually or by using the Military Overlay created with the Military Symbol Editor in ArcGIS Pro to create a Military Overlay (which will automatically create a schema and add layers to a map).
Follow these steps if the data will be imported or fed from another system and will include a Symbol ID code:
Follow these steps to create a Military Overlay using the military symbology tools in ArcGIS Pro if you will be adding new features to the map using ArcGIS editing tools. This will create a series of layers in the enterprise geodatabase, including many feature templates for each layer (starter symbols to support editing workflows), and will add the layers to a map and configure them layers with the dictionary renderer.
Finally,
Publish your data
Share the layers in your map as a web layer to your Enterprise Portal with the following configuration:
Configure your Web Map
The previous step publishes a map image service and a feature service that both must be added to a web map in Map Viewer Classic. Be sure to add the map service to the web map first followed by the feature service, so that the two services will appear as one layer in the map.
From there, you will be able to use the edit tools in the Map Viewer Classic and Web AppBuilder to add, modify, and delete features. Or, if data is being fed from GeoEvent Server, you should see the data update automatically and the correct military symbols in ArcGIS Dashboards Classic. Because the symbology of your layers is attribute-driven and configured with a dictionary renderer, as new features are added or updated, the symbols will update to reflect the attribute values for the fields that were mapped to the dictionary renderer during the Preparation step in ArcGIS Pro.
Check out this exercise that walks through this workflow using sample data!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.