<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GeoAggrGeometry() - JSON protocol parse error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GeoAggrGeometry-JSON-protocol-parse-error/m-p/1113524#M367931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue after use &lt;SPAN style="font-size: 13.3333px;"&gt;GeoAggrGeometry function with a Group BY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here my code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGIONS:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Groupe Région",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Région",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Code Région",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeoAggrGeometry(KML_DEP) AS "KML_Région"&lt;/P&gt;&lt;P&gt;RESIDENT TEMP_REGIONS&lt;/P&gt;&lt;P&gt;GROUP BY "Code Région","Groupe Région","Région";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KML_DEP is a Polygon and it works when I use this dimension in map object but when I use KML Région i have the same issue "Erreur D'analyse du protocole JSON".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 16:16:03 GMT</pubDate>
    <dc:creator>bruno_martins_l</dc:creator>
    <dc:date>2017-07-06T16:16:03Z</dc:date>
    <item>
      <title>GeoAggrGeometry() - JSON protocol parse error</title>
      <link>https://community.qlik.com/t5/QlikView/GeoAggrGeometry-JSON-protocol-parse-error/m-p/1113523#M367930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question is in regards to QlikSense Map object. I wanted to create few map charts in Qlik Sense application. I did a homework and i went through all basic tips &amp;amp; tricks like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4008"&gt;Hidden gems in Qlik Sense geospatial functions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8969"&gt;How To Convert Shape File to KML for Qlik Sense Using GDAL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i have started with postcodes of Australia and i used GDAL solution to reduce KML file. I actually managed to reduce it down to the size where each postcode was still very well plotted and the "hypercube error" did not pop-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went step further and i have decided to group postcodes into larger areas. I used for this &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;GeoAggrGeometry()&lt;/STRONG&gt;&lt;/SPAN&gt; built in script function. This is where my problems started. I could not manage to use aggregated area in charts as it&amp;nbsp; throwing an error on chart: &lt;STRONG&gt;JSON protocol parse error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="134613" alt="2016-08-16_10-36-28.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134613_2016-08-16_10-36-28.jpg" style="height: auto;" /&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;I assume it has something to do with aggregated area / it is probably not aggregated properly and cannot be plotted - that is my quess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you ever come accross this issue? Could you please suggest how we can deal with it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find attached:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;QVF file if you want to have a look&lt;/LI&gt;&lt;LI&gt;Original kml file (postcodes1.kml) - it &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;was not used&lt;/STRONG&gt;&lt;/SPAN&gt; in geoaggrgeometry().&lt;/LI&gt;&lt;LI&gt;Reduced with GDAL kml file (postcodes.kml)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Lech Miszkiewicz

I just moved this topic to QlikView section as it was sitting in QlikSense section for more than week without a comment. Hope to be more lucky here.

Cheers
Lech
&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 00:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GeoAggrGeometry-JSON-protocol-parse-error/m-p/1113523#M367930</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2016-08-16T00:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: GeoAggrGeometry() - JSON protocol parse error</title>
      <link>https://community.qlik.com/t5/QlikView/GeoAggrGeometry-JSON-protocol-parse-error/m-p/1113524#M367931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue after use &lt;SPAN style="font-size: 13.3333px;"&gt;GeoAggrGeometry function with a Group BY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here my code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGIONS:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Groupe Région",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Région",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Code Région",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GeoAggrGeometry(KML_DEP) AS "KML_Région"&lt;/P&gt;&lt;P&gt;RESIDENT TEMP_REGIONS&lt;/P&gt;&lt;P&gt;GROUP BY "Code Région","Groupe Région","Région";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KML_DEP is a Polygon and it works when I use this dimension in map object but when I use KML Région i have the same issue "Erreur D'analyse du protocole JSON".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 16:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GeoAggrGeometry-JSON-protocol-parse-error/m-p/1113524#M367931</guid>
      <dc:creator>bruno_martins_l</dc:creator>
      <dc:date>2017-07-06T16:16:03Z</dc:date>
    </item>
  </channel>
</rss>

