How to configure custom map shapes

Bold Reports® On-Premises Edition lets you configure custom shape data and visualize it on the map report item. To add custom shape data to the On-Premises Edition application and use it in the report designer, follow these steps.

Where do I place the custom shape data file?

You place custom shape data files in the Bold Reports® On-Premises Edition installed location, next to the built-in shape data files. The built-in shape data files are located at:

Version below 3.1

{Installed_location}\Bold Reports\Report Server\ReportService\bin\ShapeData.

Shape data installed location

Version above 3.1

{Installed_location}\BoldServices\reporting\reportservice\ShapeData.

Shape data installed location

Copy your shape data file and paste it at this location, for example storelocations.js.

Version below 3.1

Shape data installed location

Version above 3.1

Shape data installed location

How do I add the file entry?

You register the shape data file in Bold Reports® by adding an entry to the mapshapes.txt file in the same location. After you paste the file, open mapshapes.txt.

Version below 3.1

Shape data installed location

Version above 3.1

Shape data installed location

Add the entry for your file name and display name, and then save the file.

Shape data installed location

How do I visualize the shape data on a map?

You visualize the custom shape data in Web Report Designer by selecting it in the Shapes property of a map report item.

  1. Launch the on-premise application and create a new report. New report
  2. Drag a map into the design area from the item panel. New report
  3. The newly added shape data entry is listed in the Shapes property drop-down under the Basic Settings category. Shapes property

To visualize shape data and analytical data with the map report item, read the Design a rdl report using map section.

Frequently asked questions

Which file lists the available map shapes?

The mapshapes.txt file in the ShapeData location lists them. Add your file name and display name there.

Where does a new shape appear in the designer?

It is listed in the Shapes property drop-down under the Basic Settings category of the map report item.

See also