Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Geodata Layer

A Geodata Layer displays background map data at an GeoAnalytics Map. It is statically visualized and not depending on the current selection. It is intended for custom background map data from external sources. Several kinds of map data can be accessed, like vector data, tiled raster or on-demand rendered raster, see "Source Format" below. Data can be in files on the internet of come from online services.

Note that the coordinate system of the external data must be the same as for the base map (default WGS-84).

Geodata Options

Parameters for Geodata Options
PropertyUseDescription
Source URLrequired URL to geodata in specified format. When a tiled service is selected as Source Format, the variables {level}, {x}, {y} can be used for selecting the correct tile.
Source Formatdefault:GeoJSON The format of geodata. The currently supported formats are:
  • GeoJSON file - a file based format for vector data. GeoJSON is a common format that is supported by many external tools.
  • GML/WFS file - a file based format for vector data. GML is a standardized geographic format which also is used as return format from WFS servers. This makes it possible to access online vector map data where query parameters can be specified in the URL.
  • WMS - a standard for on-demand, server rendered maps. Specify all WMS parameters in the URL except version, crs, width, height, and bbox which are appended automatically. A URL could look like this: http://example.com/geo/WMS?LAYERS=l1,l2&FORMAT=image/png&NAME=wms123&REQUEST=GetMap&SERVICE=WMS
  • TMS - a tiled vector service (sometimes also called a slippy map or XYZ map). Use {level}, {x}, {y} in the URL for selecting the correct tile. You can also use {quadkey} for selecting the correct tile when getting tiles from a Bing map server.
  • Qlik GetMap - Qlik tiled raster service with standard parameters.
Stylesdefault:{"type":"polygon", "color":"white", "outline":"blue"},{"type":"line", "color":"green", "width":"1"},{"type":"symbol", "icon":{ "url" : "i://icons/images/dropgreen.png"}} Describes how vector data should be visualized. The format used is the same as in the Qlik WebMap5, see Qlik WebMap5 API Documentation, FeatureLayer. This field is only visible when a vector based format is selected such as GeoJSON.
Load Via Serverdefault:false To avoid problems that the browser does not allow loading content from different hosts (CORS) this option can be checked. It will then load the file via the GeoAnalytics server which sets headers so that cross site loading is allowed. The GeoAnalytics server will just act as a proxy which adds the required headers.
Geometry Attributedefault:the_geom The name of the attribute that contains the geometry (without name space). This field is only visible when Source Format is GML/WFS.
Reverse Coordinatesdefault:unchecked Coordinates are expected in order latitude, longitude or Y, X. Check when coordinates comes in the other order. This field is only visible when Source Format is GML/WFS.
WMS Versiondefault:1.3.0 The version of the WMS format to use when contacting the server. This field is only visible when Source Format is WMS.
Bufferdefault:100 Extra area in pixels to load to allow for some panning without a reload. This field is only visible when Source Format is WMS.
CRSdefault:EPSG:3857 The coordinate reference system that the image should be defined in. Must be the same as the base map is presented in. Most base maps are presented in Mercator (EPSG:3857) and this need only be changed when a custom coordinate system is used with base maps "empty". This field is only visible when Source Format is WMS.
Tile Size (pixels)default:256 Width and height of tiles in pixels. This field is only visible when Source Format is TMS.
Tile Width (geographic)default:40075016 Width in geographic units of tiles in level 0 (most zoomed out, entire earth). Note that for most base maps the internal coordinate system is Mercator and the length unit is meters (even if the external coordinate system is WGS-84 with length unit degrees). This field is only visible when Source Format is TMS and Advanced Settings are enabled.
Tile Height (geographic)default:40075016 Width in geographic units of tiles in level 0 (most zoomed out, entire earth). Note that for most base maps the internal coordinate system is Mercator and the length unit is meters (even if the external coordinate system is WGS-84 with length unit degrees). This field is only visible when Source Format is TMS and Advanced Settings are enabled.
Origin Xdefault:-20037508 The origin of tiles in left-right-direction in same length unit as for Tile Height. All tiles to the left of the origin have negative x. This field is only visible when Source Format is TMS and Advanced Settings are enabled.
Origin Ydefault:20037508 The origin of tiles in up-down-direction. By default all tiles above of the origin have negative y but if {-y} is used in the URL the y axis is revered and all tiles below this value will have negative y. This field is only visible when Source Format is TMS and Advanced Settings are enabled.

Layer Options

Parameters for Layer Options
PropertyUseDescription
Map IDdefault:<the most recent map of the sheet> Specify this value when there is more than one map on a sheet to tell which map to display the layer on. See Map Id in Map Settings of the Map to get the right one.
Max no. of Objectsdefault:1000 To display more than a thousand object increase this value. There will be a warning if there are more objects to display.
In Resolution Limitdefault:0 The map will not be displayed when zoomed further in than this value. Check "Map.Debug.Show debug info" to see current resolution. The resolution is defined as meters per pixel, i.e. the number of meters each pixel covers.
Out Resolution Limitdefault:99999999 The map will not be displayed when zoomed further out than this value. Check "Map.Debug.Show debug info" to see current resolution. The resolution is defined as meters per pixel, i.e. the number of meters each pixel covers.
Include in Auto Zoomdefault:Yes Determines if the layer should be included when calculating area to zoom to when automatically zooming to selections.
Draw Orderdefault:Checked Defines how the layer should be drawn compared to other layers, which ones should be drawn on top of each other.
Draw Order Categorydefault:<Layer specific> The layers are by default drawn after the base map and the base map labels in the order Geodata Layers, Area Layers, Heatmap Layers, Line Layers, Bubble Layers. To make this layer draw in another category, adjust this value. This property is only visible when "Draw Order" is set to "Custom".
Draw Order Adjustmentdefault:0 Increasing this value makes the layer draw later, i.e. be more visible in the category. Allowed values are in the range -10 to 10. If you want the layer to be on top of other layers in the same category increase this value, if you want it to be overdrawn by other layers in the category decrease it. This property is only visible when "Draw Order" is set to "Custom".

Appearance

Parameters for Appearance
PropertyUseDescription
Show titlesdefault:Off Display standard title.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!