settings

Eqwc. settings

Members

(static) qgisVersion :string

Source:
Default Value:
  • "2.18"

QGIS Server version installed. Use only major number (2.18, 3.4,...)

Type:
  • string

(static) title :string

Source:
Default Value:
  • "projectData.title+' '+projectData.client_display_name";

Template string for browser window title

Type:
  • string
Example
"TR.appName+projectData.title+' '+projectData.client_display_name";

(static) limitAttributeFeatures :number

Source:
Default Value:
  • 2000

Limit number of features to request from server for displaying layer attribute table. If number of returned features is equal to limit then load more button is displayed in table toolbar.

Type:
  • number

(static) syncAttributeTableWithView :boolean

Source:
Default Value:
  • false

Enable by default synchronizing attribute table with current map extent. User can manage displaying whole table (with limitAttributeFeatures) or display only visible elements with button below table (it is updated on map zoom or move).

Type:
  • boolean

(static) limitSearchMaxResults :number

Source:
Default Value:
  • 10

Number of results in SearchPanel and Identify result window. _FEATURE_COUNT_ value in WMS request

Type:
  • number

(static) featureInfoTolerances :Object

Source:
Default Value:
  • {{point: 4, line: 4, polygon: 2}}

Tolerances for WMS GetFeatureInfo requests on QGIS Server

tolerance values are in pixels at map dpi and will be scaled with the actual pixel ratio value for high resolution rendering

Type:
  • Object

(static) enableHoverPopup :boolean

Source:
Default Value:
  • false

Enable tooltip text when mouse cursor is over features

Type:
  • boolean

(static) defaultIdentificationMode :string

Source:
Default Value:
  • "allLayers"

Set default mode for identify option

Possible values are: "allLayers", "topMostHit", "activeLayers"

Note that you control visibility of this combo per specific project in database.

Type:
  • string

(static) showCoordinatesIdentify :boolean

Source:
Default Value:
  • true

Display coordinates of clicked location on top of identify window results

Type:
  • boolean

(static) replaceIdentifyLayerWithView :Array

Source:

Replace layer name in GetFeatureInfo request (identify and attributes table) and in layer export. Useful to create database view for layer, where you can reorder fields or create new read only fields from geometry, like: area, length, X, Y. This data will be displayed in identify window and attributes table and used in layer export instead of data from original layer. You could use view in QGIS in the first place for ordinary layers, but if you wish that layer is editable it cannot be connected to view.

Prepare:

  1. Write in this array layer name as it is in QGIS project,
  2. Create corresponding view named as your_layer_name_view and add it to the QGIS project. View will be hidden from legend and map.
  3. Set view symbology to transparent or no symbol, to avoid "seeing" it in print, because it must be added to print layers in case if its table is used in print layout.

If layer name is "points", view name must be "points_view", add in array only "points"

Type:
  • Array
Example
"['points']";

(static) QgisUsersPrintName :string

Source:
Default Value:
  • "users_print_view"

Set print table name from QGIS project needed to store information about title and description for each user last print.

To enable: add users_print_view into QGIS project from gisapp database. You must add table to print layout, table will always have max 1 row for current user. This table is removed from EQWC legend tree

Type:
  • string

(static) visibleFirstBaseLayer :boolean

Source:
Default Value:
  • true

Should first baselayer be visible on opening project

Type:
  • boolean

(static) noDataValue :string

Source:
Default Value:
  • ""

Display NULL values

Type:
  • string

(static) overWriteRasterFieldName :Object

Source:
Default Value:
  • {}

Overwrite identify values for raster data, instead of Band 1 write desired value to be displayed as a column name

Type:
  • Object
Examples
{["layername"] = ["Band 1", "Your value"]}
{["my_elevation.tif"] = ["Band 1", "Elevation"]}

(static) numZoomLevels :number

Source:
Default Value:
  • 22

Number of Zoom levels in map. This is relevant only in cases where Map does not contain base layers!

Type:
  • number

(static) fixedPrintResolution :null|number

Source:
Default Value:
  • null

Allow users to choose print options (leave null) or to have fixed resolution (type number for fixed DPI value).

Type:
  • null | number
Example
200

(static) printCapabilities :Object

Source:

Define print options (scales and DPIs). For fixed DPI value look fixedPrintResolution

Type:
  • Object

(static) symbolizersHighLightLayer :Object

Source:

Styling definition for highlight Layer (GetFeatureInfo and search result visualization)

OpenLayers2 Style definition

Type:
  • Object

(static) useGisPortal :boolean

Source:
Default Value:
  • false

Integrate separate gisportal code to browse projects and manage database

gisportal

Type:
  • boolean

(static) mobileUseTiledWMS :boolean

Source:
Default Value:
  • false

Use tiled WMS requests for QGIS project

Mobile only

Type:
  • boolean

(static) mobileEnableTracking :boolean

Source:
Default Value:
  • false

Enable tracking by default (auto center map on current position when position is on)

Mobile only

Type:
  • boolean

(static) mobileMinScale :number

Source:
Default Value:
  • 50

Minimum scale (maximum zoom to scale) for map

Mobile only

Type:
  • number

(static) mobileShowAccuracy :boolean

Source:
Default Value:
  • true

Show accuracy information in location panel

Mobile only

Type:
  • boolean

(static) qgisFilesFieldAlias :string

Source:
Default Value:
  • "files"

Change that if you set alias for files field in QGIS, then enter same alias here

Editor plugin

Type:
  • string

(static) measurementsUnitSystem :string

Source:
Default Value:
  • "metric"

Unit system for displaying distance and area measurements.

Possible values are: "metric", "english", "geographic"

metric: "km", "m"

english: "mi", "ft", "in" for length and "ac" for area

geographic: "dd"

Type:
  • string

(static) layerLegendMaxHeightPx :number

Source:
Default Value:
  • 200

Maximum allowed height in pixels for layer legend. If legend height is larger, vertical scroller will be used

Type:
  • number