ArcGIS Online

Batch Format Your Attributes in Map Viewer Beta

Have you ever procrastinated configuring a map because it would take ages to unify the format of your attributes? Do you dream of a day where you can batch format your attributes? Well, do I have good news for you. Batch formatting attributes is one of many exciting new features available in the July 2020 release of Map Viewer Beta. This feature does exactly what its name implies, allowing you to select multiple attributes of the same data type and unify their format.

While batch formatting might feel like a small feature, small features can still be incredibly useful and, in this case, give you a quick way to ensure that your data is both readable and meaningful. This capability is particularly valuable when you’re highlighting a layer with many numeric and date attributes. To show how it’s done, let’s go over how to batch format attributes and then walk through an example of batch formatting using the Current Weather and Wind Station dataset from the Living Atlas.

How it’s Done

Head over to Map Viewer Beta and add the layer above or choose your own layer to follow along. Click the layer from the layer list to activate the tool bar, and complete the following steps:

  1. Click on Configure attributes
  2. Select the attributes to be batch formatted (must be the same data type)
  3. Select the preferred format in the formatting window
  4. Click Done
  5. Click on a feature in your map to enjoy the updated format in your pop-ups

Practical Example

The batch formatting feature is useful for layers with multiple numeric or date attributes that aren’t in the same format or aren’t meaningful in their current format. In this example, I want to display the air, water, and dew point temperatures for buoy weather stations in a way that is easily understood. The attributes are shown with two decimal places by default, but the second decimal place is unnecessary. I can use batch formatting to change the air, water, and dew point temperature values so that only one decimal place is shown.

Notice how making these changes with a pop-up open allows me to see the format change in real-time. Although it is a minor change, my pop-up looks cleaner and more readable.

Tips and Tricks

What’s Next?

Additional capabilities for the Configure attribute feature are planned for upcoming releases, such as:

Need More Information?

If you’re looking to learn more about new features and updates to Map Viewer Beta, check out one of the many Map Viewer Beta blogs. Also visit GeoNet to find answers, ask questions, and join the Map Viewer Beta discussion.

About the author

Lauren Ballantyne is a Product Engineer on the ArcGIS Online team and has a background in environmental science and conservation ecology. Her feature areas include Map Viewer, Arcade, and hosted feature layer views. Lauren is passionate about developing intuitive tools that help create engaging, informative, and data-rich web maps.

Next Article

Join Hacktoberfest 2023: Celebrate Open Source with Us!

Read this article