Map export as image

Function Description

Supports exporting the map in the current map to common image formats. Supported picture file formats include: *.bmp, *.jpg, *.png, *.gif, *.eps, *.tif, etc.

Function Entry

Ensure no objects are selected in the current map.

  • In the map, right-click and select "Map export as image" from the context menu to open the "export as image" dialog.

Parameter description

The Export Settings area allows you to configure parameters such as the save path and name of the output image, resolution, transparent background, etc. Specific instructions are as follows:

  • File Name: Click the button on the right to set the save path and name of the image in the "Save" dialog, or directly enter the save path and name in the "File Name" text box.
  • Resolution: Set the resolution of the output image in the text box to the right of the label. The resolution range is [1,2000]. If the resolution exceeds the maximum value, a warning prompt will appear. Currently, resolution settings are supported for *.bmp, *.jpg, *.png, and *.tif formats. Default: 96, Unit: DPI.

    The application will estimate the compressed file size of the output image based on the resolution and export bounds. If the output image format is PNG and the disk size exceeds the specified limit (77M for 64-bit OS, 12M for 32-bit OS), users will be prompted to export the map as PDF. For detailed information on Export to PDF, refer to Export to PDF.

  • Width: Displays the width of the output image in the current map, in pixels.
  • Height: Displays the height of the output image in the current map, in pixels.
  • Transparent BG: If outputting to *.png or *.gif format, check the "Transparent BG" checkbox to set whether the output image has a transparent background.

The Export Bounds area allows you to set the map bounds for export as image and choose whether to split the output map based on a field.

  • Export Bounds: Sets the map bounds for export as image. The application provides four setting methods: current windows, whole map, select object, copy and paste. Default is current windows. Details are as follows:
    • Whole Map: Select the "Whole Map" radio button to set the union of all layers in the current map as the export bounds.
    • Current Windows: Select the "Current Windows" radio button to set the map bounds of the current windows as the export bounds.
    • Select Objects: Offers two methods: Select Object and Draw Bounds. "Select Object" involves selecting one or multiple objects in the current map via mouse drag or click, setting the selected objects range as export bounds. "Draw Bounds" involves clicking to draw a rectangular area in the current map as export bounds.
    • Copy and Paste: Click the "Copy" button to copy the current set bounds. Click the "Paste" button where bounds settings are supported to apply the copied left, bottom, right, and top values to the current bounds.
  • Split the output: If selected, the map within the specified range will be split into complete objects based on a split field. Only region datasets are supported as split objects. There are two ways to select split objects:

    Method 1: Directly select the datasource, dataset, and split field to specify the split objects.

    Method 2: Use custom bounds -> select object to directly choose split objects in the map. After checking the checkbox, the data source dataset is automatically identified based on the selected objects, and only the split field needs to be specified.

    • Datasource: Select the datasource containing the split objects.
    • Dataset: Select the dataset containing the split objects.
    • Split field: The split field serves as the basis for splitting the output. The map will split the output within the range into complete objects based on the selected field, with the field value used as the name for each output image. The split field can be a single property field or a mathematical expression of fields.
      • The combo box dropdown lists property field names of the current dataset. Select any field as the split field. After confirming, the map will split the output based on the chosen field.
      • To use a mathematical expression of property fields as the split field, select Expression... from the combo box dropdown. Build the mathematical expression in the SQL Expression dialog. After completion, the map will split the output based on the expression result.
      • Split objects must be complete within the export bounds. Incomplete objects will not be output. As shown below:

Notes:
  • If Clip Display Extent is set in Map Properties->Bounds, objects outside the range will not be output during split.
  • When exporting the map as an image, the flow and no overlap functions of thematic maps are invalid. Preprocess the map by disabling flow and no overlap features.
  • Checking "Split the output" will automatically enable "Transparent BG".

Related Topics

Map Export to PDF

SQL Expression

Map Properties