

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Useful Qlik GeoAnalytics Server settings
Jan 31, 2024 8:04:08 AM
Mar 15, 2018 6:12:47 AM
This article provides useful settings for your Qlik GeoAnalytics server.
Content:
- Increase max zip size of shapefile
- Allow QlikGeoAnalytics connector to reach local databases and files
- Allow Qlik GeoAnalytics Server to access local image files
- ForceQlik GeoAnalyticsServer to set https as referal protocol
Increase max zip size of shapefile
Default limit: 150 MB
- Open and modify the GeoAnalyticsModule.xml configuration file in C:\ProgramData\Qlik GeoAnalytics Server\server3\modules\geoanalytics\config\GeoAnalyticsModule.xml
Example:
Sets max shapefile zip to 1 GB, -1 = unlimited.
<?xml version="1.0" encoding="UTF-8"?>
<GeoAnalyticsModule maxDefaultDatasetSize ="1073741824"/> - Restart the module
Allow Qlik GeoAnalytics connector to reach local databases and files
You can configure Qlik GeoAnalytics to access local file systems (for reading shapefiles) as well as access GIS databases such as PostGIS.
GIS databases:
- Open and modify the GeoAnalyticsModule.xml in C:\ProgramData\Qlik GeoAnalytics Server\server3\modules\geoanalytics\config\GeoAnalyticsModule.xml
-
Change enableDatabaseAccess to true
Example:
<?xml version="1.0" encoding="UTF-8"?><GeoAnalyticsModule enableDatabaseAccess="true"/>
Any required database drivers should be installed in ProgramData/Qlik GeoAnalytics Server/server3/lib. - Restart the server
Local files
Grant permissions to read local files to the keys. This is done by:
- To to the admin GUI > Access Module > Multialiases
- Select access:multi:GEOANALYTICSBASIC
- Click Add / Remove Services
- Find geoanalytics:datasets:localfile in the left pane, select it, press the > button, then Done
Allow Qlik GeoAnalytics Server to access local image files
The server block per default requests (with 403) to the same machine or local network, resulting in "Blocked access to local network: ..." in the server log.
- Open and modify the WebMap5Module.xml in C:\ProgramData\Qlik GeoAnalytics Server\server3\modules\webmap5\config\WebMap5Module.xml
Example:
<?xml version="1.0" encoding="UTF-8"?>
<WebMap5Module allowGetResourceLocal="true" />
- Restart the server
Force Qlik GeoAnalytics Server to set https as referal protocol
When doing port forwarding or using load balancers in front of the Qlik GeoAnalytics (QGA) server(s), it necessary to tell the QGA server to use https as the protocol in subsequent calls. The protocol behind the LB is normally http.
- Open and modify the WebMap5Module.xml in C:\ProgramData\Qlik GeoAnalytics Server\server3\modules\webmap5\config\WebMap5Module.xml
- Add forceSSL with a value of true
Example:
<?xml version="1.0" encoding="UTF-8"?>
<WebMap5Module forceSSL="true"/>
- Restart the server


- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
How would you combine the allowGetResourceLocal and forceSSL attributes in the same xml config file?
Would this work?
<?xml version="1.0" encoding="UTF-8"?>
<WebMap5Module>
<forceSSL>true</forceSSL>
<allowGetResourceLocal>true</allowGetResourceLocal>
</WebMap5Module>


- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Do this instead:
<WebMap5Module forceSSL="true" allowGetResourceLocal="true" />
Thanks, Patric