PALM-4U Viewer - Configuration

The PALM-4U Viewer assists in integrating

  • GeoJSON files (scenarios) generated by PALMClassify

  • TIFF result files generated in the post-processing of the PALM-4U GUI into the VC Map.

There are two methods to integrate the files:

  • As a temporary layer by the map user via the toolbox.

  • As a permanent layer when setting up the map using the App Configurator.

The following table describes the configuration options of the plugin itself.

Option Description

Show Import Buttons

Determines whether the icon palm tree group with the respective import buttons is displayed in the app’s toolbox. If this option is disabled, files can only be integrated via the App Configurator and not temporarily loaded into My Workspace.

The following two subsections describe the configuration options for the layer types added by this plugin. These can be added, like the standard layers, via the icon addElement button in the Layers section.

Palm4uScenarioLayer

When integrating a GeoJSON file generated by PALMClassify, a vector tiles layer is created. This enables smooth rendering of the extensive GeoJSON files. Additionally, a feature info and styling aligned with the PALM-4U GUI, along with a corresponding legend, are assigned to it.

Option Description

Url

Path to the file (required)

Title

Title of the layer in the map (required)

Z-Index

Drawing order. Layers with a higher Z-Index overlay layers with a lower Z-Index.

Palm4uTiffLayer

For displaying TIFF results, the plugin introduces a new TIFF layer. This can be styled by assigning color palettes. A legend is automatically generated for the assigned color palette.

Option Description

Url

Path to the file (required)

Title

Title of the layer in the map (required)

Z-Index

Drawing order. Layers with a higher Z-Index overlay layers with a lower Z-Index.

Opacity

Adjusts the opacity/transparency.

Coloring Type

Determines how the color scale is applied to the values of the raster. Linear distributes the color scale linearly over the value range. Discrete divides the value range into equally sized classes. Each class is assigned a color.

Color Gradient

Selection of different color scales.

Invert Color Gradient

Inverts the color gradient.

Value Range Min/Max

Sets the lower and upper end of the value range. The default setting is the minimum and maximum value of the raster.

Display Min/Max

Sets the range that is displayed. Cells with values outside this range are transparent. The default setting is the minimum and maximum value of the raster.

Since the PALM-4U GUI does not export the TIFF files in WGS84, they need to be reprojected. Otherwise, there will be an offset of the TIFF raster in the VC Map. This is currently not possible in the VC Map. To ensure correct display, the respective file must therefore be reprojected as an additional step, e.g., in QGIS using GDAL Raster Reprojection (Warp).
Since there are many parameters, it may be easier to first import the TIFF result file temporarily into the map, make all settings, and then export the configuration. Subsequently, the JSON Editor of the Palm4uTiffLayer can be opened in the App Configurator, and the configuration can be copied in. Note: Since the exported file may contain the configuration of multiple layers, it is structured as follows: {layers: [{LayerConfig1}, {..}]}. When copying, ensure that only the configuration of the corresponding layer is copied.