<?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: Guidance on Visualizing Postal Code Areas in SAS Visual Analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978828#M18897</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/446542"&gt;@Zorac&lt;/a&gt;,&amp;nbsp;can you:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Post a screenshot of what the postal code areas look like in Visual Analytics&lt;/LI&gt;
&lt;LI&gt;Attach the shapefile or make it available for download if it is public data&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;When lines do not connect as expected, this is usually indicative of Visual Analytics not knowing the correct row order. In a nutshell, Visual Analytics connects the dots of vertices, and if the order of the dataset is wrong, it can look pretty weird. Data loaded to CAS is not guaranteed to have an order since it is a multithreaded, distributed environment. In order to ensure the right order, a Sequence variable is needed to tell Visual Analytics what order the shapes should be drawn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you load your shapefile with PROC MAPIMPORT, load it onto compute first and use PROC GREDUCE if needed. Afterwards, create a sequence variable:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data shapefile;
    set shapefile;
    sequence+1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Perform any additional data manipulation as needed, then load it to CAS. Specify that variable for the Sequence role when adding it as a geographic provider. In later versions of Viya, you can also do this with the ADDROWID option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data caslib.shapefile(addrowid=yes);
    set shapefile;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Nov 2025 16:01:27 GMT</pubDate>
    <dc:creator>Stu_SAS</dc:creator>
    <dc:date>2025-11-13T16:01:27Z</dc:date>
    <item>
      <title>Guidance on Visualizing Postal Code Areas in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978705#M18894</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS Visual Analytics / SAS Viya and currently exploring how to visualize postal areas. My goal is to depict postal code regions&amp;nbsp;with associated metrics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would greatly appreciate guidance on:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Whether SAS Viya supports 8-digit postal codes or any similar custom postal code regions for Germany? ("&lt;SPAN&gt;An 8-digit postal code refers to a highly specific area within Germany, known as PLZ8 (Postleitzahl 8), which is a more detailed subdivision of the standard 5-digit postcode system.&lt;/SPAN&gt;"&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;How to best integrate custom shapes / polygons for visualization.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Any documentation or best practices for visualizing postal code areas with associated metrics in SAS Visual Analytics.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you very much for any advice or pointers!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 08:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978705#M18894</guid>
      <dc:creator>Zorac</dc:creator>
      <dc:date>2025-11-12T08:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on Visualizing Postal Code Areas in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978727#M18895</link>
      <description>&lt;P&gt;It is best to start with the documentation:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/vacdc/v_035/vareportdata/p031vp9uc5y5iun0zipy3c1trkqn.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/vacdc/v_035/vareportdata/p031vp9uc5y5iun0zipy3c1trkqn.htm&lt;/A&gt;&amp;nbsp;please choose the proper version that you are using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basic Steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;First you will need the corresponding polygon information for your PLZ8 regions. The easiest would be to have the data as SHP file.&lt;/LI&gt;
&lt;LI&gt;The SHP file needs to be imported as a CAS table,&amp;nbsp;&lt;SPAN&gt;see&amp;nbsp;&lt;/SPAN&gt;&lt;A tabindex="0" href="https://go.documentation.sas.com/doc/en/sasadmincdc/v_069/caldatamgmtcas/p1dwawsidsczlpn121j0glleicxp.htm" target="_blank"&gt;Loading Geographic Polygon Data as a CAS Table&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Define your own Geographic Data Provider, you need to be an administrator (by default only Administrators can do this). See&amp;nbsp;&lt;A tabindex="0" href="https://go.documentation.sas.com/doc/en/vacdc/v_035/vareportdata/p031vp9uc5y5iun0zipy3c1trkqn.htm#p08rpn6wxwstmen1hatk1f2qcndt" target="_blank"&gt;Create a Geography Data Item By Using Custom Polygonal Shapes, Lines, or Coordinates from a Geographic Data Provider&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 13:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978727#M18895</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2025-11-12T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on Visualizing Postal Code Areas in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978806#M18896</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp; for your reply, it helped a lot!&lt;/P&gt;&lt;P&gt;I’ve imported custom polygon data (shp) into SAS Visual Analytics that contains coordinate pairs describing region boundaries.&lt;BR /&gt;I was able to generate a Geo Coordinate map using these values (with coordinate space set to &lt;EM&gt;Web Mercator&lt;/EM&gt;), and the points display correctly on the map.&lt;/P&gt;&lt;P&gt;However, the lines between the coordinates are not connected, so the polygons are not forming closed shapes.&lt;BR /&gt;I don’t have access to an ESRI connection or public shape data, so I’m working entirely from a locally provided shapefile that’s already loaded in CAS.&lt;/P&gt;&lt;P&gt;Is there a way to visualize these regions as connected line or polygon geometries directly in Visual Analytics?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 09:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978806#M18896</guid>
      <dc:creator>Zorac</dc:creator>
      <dc:date>2025-11-13T09:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on Visualizing Postal Code Areas in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978828#M18897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/446542"&gt;@Zorac&lt;/a&gt;,&amp;nbsp;can you:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Post a screenshot of what the postal code areas look like in Visual Analytics&lt;/LI&gt;
&lt;LI&gt;Attach the shapefile or make it available for download if it is public data&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;When lines do not connect as expected, this is usually indicative of Visual Analytics not knowing the correct row order. In a nutshell, Visual Analytics connects the dots of vertices, and if the order of the dataset is wrong, it can look pretty weird. Data loaded to CAS is not guaranteed to have an order since it is a multithreaded, distributed environment. In order to ensure the right order, a Sequence variable is needed to tell Visual Analytics what order the shapes should be drawn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you load your shapefile with PROC MAPIMPORT, load it onto compute first and use PROC GREDUCE if needed. Afterwards, create a sequence variable:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data shapefile;
    set shapefile;
    sequence+1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Perform any additional data manipulation as needed, then load it to CAS. Specify that variable for the Sequence role when adding it as a geographic provider. In later versions of Viya, you can also do this with the ADDROWID option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data caslib.shapefile(addrowid=yes);
    set shapefile;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 16:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978828#M18897</guid>
      <dc:creator>Stu_SAS</dc:creator>
      <dc:date>2025-11-13T16:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on Visualizing Postal Code Areas in SAS Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978919#M18898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/61362"&gt;@Stu_SAS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the hint. Sadly, I cannot share the shapefile since it contains sensitive private data. Yesterday I managed to get administrator rights and registered the shapefile as a geographic data provider for polygon analysis. That solved the issue, and after using the new geographic item based on my PLZ, the correct polygons were displayed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 08:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Guidance-on-Visualizing-Postal-Code-Areas-in-SAS-Visual/m-p/978919#M18898</guid>
      <dc:creator>Zorac</dc:creator>
      <dc:date>2025-11-17T08:18:10Z</dc:date>
    </item>
  </channel>
</rss>

