Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
curiousfellow
Specialist
Specialist

Looking for polygons subcontinent

We are use Geoanalytics base with Qlikview.

Now I am searching for a file with the polygons of subcontinents (Cemtral Europe, North Europe etc)
As we don't have a license for Geoperations and don't use QlikSaas, I understand I cannot create these polygons myself.

 

 

Thanks in advance

Labels (1)
1 Solution

Accepted Solutions
rubenmarin

Hi, it has passed more than a yer since the last time I did this, so I don't remember enough to tell you the issue, and I don't have a geonalytics license available to make the tests.

First I would try with simpler data, just a couple of countries for a couple of SalesArea. And try with ISO of 2 letters for countries.

The connector has a dialog to help to configure the query.

Or adapt the sample to your needs, in example the suffix shouldn't be US:ADDM1 if you are using countries instead of Us states.

To be fair this is very bad documented, in the installation files of geoanalytics there is a doc folder with some html, but it's hard. I needed a lot of try and error until make it work.

View solution in original post

10 Replies
rubenmarin

Hi, both Geoanalytics and GeoOperations has the ability to use the dissolve operation in script, creating new areas joining already existen smaller areas:

https://help.qlik.com/en-US/geoanalytics/Content/Ref-GeoOperationsService/connector-geoanalytics_ref...

https://help.qlik.com/en-US/geoanalytics/Content/Global_Common/GeoOperationsFunctions/GeoOperations-...

 

curiousfellow
Specialist
Specialist
Author

Our reseller tell us that GeoOperations is a functionality within Qlik Cloud.

We are using Qlik May 2021 SR1

As we have our own servers this is not available for us ?

rubenmarin

But you said you are using Geoanalytics, isn't? Geoanalytics can do that using the connector: https://community.qlik.com/t5/Qlik-Sense-Documents/Connector-Examples-Qlik-GeoAnalytics/ta-p/1548148

curiousfellow
Specialist
Specialist
Author

That is a very quick answer, thank you. 

The examples you send are *.qvf files. These cannot be used in Qlikview. I will have to find a way to translate them to qvw files. 

rubenmarin

Here are some QV examples: https://help.qlik.com/en-US/geoanalytics/Content/Qlik_GeoAnalytics/GeoAnalytics-QlikView/GeoAnalytic....

I also attach the script of the qvf example for dissolve.

If you have geoanalytics installed you should have access to the connector. IF you only have the server installaton you'll need also the dektop installation to use the connector for development on the desktop version.

Help documentation: https://help.qlik.com/en-US/geoanalytics/Content/Qlik_GeoAnalytics/GeoAnalytics-QlikView/GeoAnalytic...

curiousfellow
Specialist
Specialist
Author

We have access to the connector. Testing the connector did not work at first, but now it does. 

Next error we get is 

Database not found error

Connection 'QGA' not found

LIB CONNECT TO 'QGA'

The dissolve table in your example is filled however.  So I get an error but the example seems to work ??

curiousfellow_0-1668497599467.png

 

rubenmarin

That sentence is a Qlik Sense sentence, it should be removed in QlikView

In QlikView it may be a "CUSTOM CONNECT TO " sentence or similar, if the connector loads the table just remove the qlik sense sentence.

curiousfellow
Specialist
Specialist
Author

Thank you, for your help, appreciate it very much.

I copied the code, but replaced the inline load of the area table with this code. The result is that the dissolve table only contains value for one salesarea.  For the other Salesarea no record was made.

I tried several sorting options, but that does not seem to solve this, Allthough it is not always the same "SalesArea" a record was made.

areas:

load * inline
[
State, SalesArea
'Afghanistan',South Asia
'Albania',South East Europe
'Algeria',Northern Africa
'American Samoa',Pacific
'Andorra',South West Europe
'Angola',Southern Africa
'Anguilla',West Indies
'Antigua and Barbuda',West Indies
'Argentina',South America
'Armenia',South West Asia
'Aruba',West Indies
'Australia',Pacific
'Austria',Central Europe
'Azerbaijan',South West Asia
'Bahamas, The',West Indies
'Bahrain',South West Asia
'Bangladesh',South Asia
'Barbados',West Indies
'Belarus',Eastern Europe
'Belgium',Western Europe
'Belize',Central America
'Benin',Western Africa
'Bermuda',West Indies
'Bhutan',South Asia
'Bolivia',South America
'Bosnia and Herzegovina',South East Europe
'Botswana',Southern Africa
'Brazil',South America
'British Virgin Islands',West Indies
'Brunei',South East Asia
'Bulgaria',South East Europe
'Burkina Faso',Western Africa
'Burundi',Central Africa
'Cambodia',South East Asia
'Cameroon',Western Africa
'Canada',North America
'Cape Verde',Western Africa
'Cayman Islands',West Indies
'Central African Republic',Central Africa
'Chad',Central Africa
'Chile',South America
'China',East Asia
'Christmas Island',South East Asia
'Cocos (Keeling) Islands',South East Asia
'Colombia',South America
'Comoros',Indian Ocean
'Congo, Republic of the',Central Africa
'Cook Islands',Pacific
'Costa Rica',Central America
'Cote d'Ivoire',Western Africa
'Croatia',South East Europe
'Cuba',West Indies
'Cyprus',South West Asia
'Czech Republic',Central Europe
'Denmark',Northern Europe
'Djibouti',Eastern Africa
'Dominica',West Indies
'Dominican Republic',West Indies
'Ecuador',South America
'Egypt',Northern Africa
'El Salvador',Central America
'Equatorial Guinea',Western Africa
'Eritrea',Eastern Africa
'Estonia',Eastern Europe
'Ethiopia',Eastern Africa
'Falkland Islands (Islas Malvinas)',South America
'Faroe Islands',Northern Europe
'Fiji',Pacific
'Finland',Northern Europe
'France',Western Europe
'French Guiana',South America
'French Polynesia',Pacific
'Gabon',Western Africa
'Gambia, The',Western Africa
'Georgia',South West Asia
'Germany',Western Europe
'Ghana',Western Africa
'Gibraltar',South West Europe
'Greece',South East Europe
'Greenland',North America
'Grenada',West Indies
'Guadeloupe',West Indies
'Guam',Pacific
'Guatemala',Central America
'Guernsey',Western Europe
'Guinea',Western Africa
'Guinea-Bissau',Western Africa
'Guyana',South America
'Haiti',West Indies
'Holy See (Vatican City)',Southern Europe
'Honduras',Central America
'Hungary',Central Europe
'Iceland',Northern Europe
'India',South Asia
'Indonesia',South East Asia
'Iran',South West Asia
'Iraq',South West Asia
'Ireland',Western Europe
'Israel',South West Asia
'Italy',Southern Europe
'Jamaica',West Indies
'Jan Mayen',Northern Europe
'Japan',East Asia
'Jersey',Western Europe
'Jordan',South West Asia
'Kazakhstan',Central Asia
'Kenya',Eastern Africa
'Kiribati',Pacific
'Korea, North',East Asia
'Korea, South',East Asia
'Kuwait',South West Asia
'Kyrgyzstan',Central Asia
'Laos',South East Asia
'Latvia',Eastern Europe
'Lebanon',South West Asia
'Lesotho',Southern Africa
'Liberia',Western Africa
'Libya',Northern Africa
'Liechtenstein',Central Europe
'Lithuania',Eastern Europe
'Luxembourg',Western Europe
'Macedonia',South East Europe
'Madagascar',Indian Ocean
'Malawi',Southern Africa
'Malaysia',South East Asia
'Maldives',South Asia
'Mali',Western Africa
'Malta',Southern Europe
'Man, Isle of',Western Europe
'Marshall Islands',Pacific
'Martinique',West Indies
'Mauritania',Western Africa
'Mauritius',Indian Ocean
'Mayotte',Indian Ocean
'Mexico',Central America
'Micronesia, Federated States of',Pacific
'Moldova',Eastern Europe
'Monaco',Western Europe
'Mongolia',Northern Asia
'Montserrat',West Indies
'Morocco',Northern Africa
'Mozambique',Southern Africa
'Myanmar (Burma)',South East Asia
'Namibia',Southern Africa
'Nauru',Pacific
'Nepal',South Asia
'Netherlands Antilles',West Indies
'Netherlands',Western Europe
'New Caledonia',Pacific
'New Zealand',Pacific
'Nicaragua',Central America
'Niger',Western Africa
'Nigeria',Western Africa
'Niue',Pacific
'Norfolk Island',Pacific
'Northern Mariana Islands',Pacific
'Norway',Northern Europe
'Oman',South West Asia
'Pakistan',South Asia
'Palau',Pacific
'Palestine',South West Asia
'Panama',Central America
'Papua New Guinea',Pacific
'Paraguay',South America
'Peru',South America
'Philippines',South East Asia
'Pitcairn Islands',Pacific
'Poland',Eastern Europe
'Portugal',South West Europe
'Puerto Rico',West Indies
'Qatar',South West Asia
'Reunion',Indian Ocean
'Romania',South East Europe
'Russia',Northern Asia
'Rwanda',Central Africa
'Saint Kitts and Nevis',West Indies
'Saint Lucia',West Indies
'Saint Pierre and Miquelon',North America
'Saint Vincent and the Grenadines',West Indies
'San Marino',Southern Europe
'Sao Tome and Principe',Western Africa
'Saudi Arabia',South West Asia
'Senegal',Western Africa
'Serbia and Montenegro',South East Europe
'Seychelles',Indian Ocean
'Sierra Leone',Western Africa
'Singapore',South East Asia
'Slovakia',Central Europe
'Slovenia',South East Europe
'Solomon Islands',Pacific
'Somalia',Eastern Africa
'South Africa',Southern Africa
'Spain',South West Europe
'Sri Lanka',South Asia
'Sudan',Northern Africa
'Suriname',South America
'Svalbard',Northern Europe
'Swaziland',Southern Africa
'Sweden',Northern Europe
'Switzerland',Central Europe
'Syria',South West Asia
'Taiwan',East Asia
'Tajikistan',Central Asia
'Tanzania',Eastern Africa
'Thailand',South East Asia
'Togo',Western Africa
'Tokelau',Pacific
'Tonga',Pacific
'Trinidad and Tobago',West Indies
'Tunisia',Northern Africa
'Turkey',South West Asia
'Turkmenistan',Central Asia
'Turks and Caicos Islands',West Indies
'Tuvalu',Pacific
'Uganda',Eastern Africa
'Ukraine',Eastern Europe
'United Arab Emirates',South West Asia
'United Kingdom',Western Europe
'United States',North America
'Uruguay',South America
'Uzbekistan',Central Asia
'Vanuatu',Pacific
'Venezuela',South America
'Vietnam',South East Asia
'Virgin Islands',West Indies
'Wallis and Futuna',Pacific
'Western Sahara',Northern Africa
'Western Samoa',Pacific
'Yemen',South West Asia
'Zaire (Dem Rep of Congo)',Central Africa
'Zambia',Southern Africa
'Zimbabwe',Southern Africa

 

 

];

rubenmarin

Hi, it has passed more than a yer since the last time I did this, so I don't remember enough to tell you the issue, and I don't have a geonalytics license available to make the tests.

First I would try with simpler data, just a couple of countries for a couple of SalesArea. And try with ISO of 2 letters for countries.

The connector has a dialog to help to configure the query.

Or adapt the sample to your needs, in example the suffix shouldn't be US:ADDM1 if you are using countries instead of Us states.

To be fair this is very bad documented, in the installation files of geoanalytics there is a doc folder with some html, but it's hard. I needed a lot of try and error until make it work.