<?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: Create geo-line geography roles in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866746#M17067</link>
    <description>&lt;P&gt;Hi Sam,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought that might be the case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there any other "pure" SAS methods not using ESRI shp files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;smm662002&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 15:17:22 GMT</pubDate>
    <dc:creator>smm662002</dc:creator>
    <dc:date>2023-03-28T15:17:22Z</dc:date>
    <item>
      <title>Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866733#M17065</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;VIYA LTS 2022.1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone advise how can I create the geography role for Geo line object?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw very interesting examples in VA Galery (&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics-Gallery/tkb-p/vagallery" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics-Gallery/tkb-p/vagallery&lt;/A&gt;) but not many details in the documentation about how to create this role. So far I found how to use the geo map objects (&lt;A href="https://documentation.sas.com/doc/en/vacdc/v_017/vaobj/n14ezqxeg2a195n1au1q980gbkte.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/vacdc/v_017/vaobj/n14ezqxeg2a195n1au1q980gbkte.htm&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and how to create the geography data items&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/vacdc/v_018/vareportdata/p031vp9uc5y5iun0zipy3c1trkqn.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/vacdc/v_018/vareportdata/p031vp9uc5y5iun0zipy3c1trkqn.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;smm662002&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 14:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866733#M17065</guid>
      <dc:creator>smm662002</dc:creator>
      <dc:date>2023-03-28T14:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866745#M17066</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general you will need to perform these high-level steps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Obtain or create a table or Esri shapefile that contains polyline data.&lt;/P&gt;
&lt;P&gt;2. Load that data either into CAS or into an Esri feature service.&lt;/P&gt;
&lt;P&gt;3. In VA, create your geographic data item, which will entail &lt;A href="https://documentation.sas.com/doc/en/vacdc/v_018/vareportdata/p031vp9uc5y5iun0zipy3c1trkqn.htm#p08rpn6wxwstmen1hatk1f2qcndt" target="_self"&gt;defining a geographic provider&lt;/A&gt; unless one already exists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you already have your polyline data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Sam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 15:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866745#M17066</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-03-28T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866746#M17067</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought that might be the case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there any other "pure" SAS methods not using ESRI shp files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;smm662002&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 15:17:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866746#M17067</guid>
      <dc:creator>smm662002</dc:creator>
      <dc:date>2023-03-28T15:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866780#M17068</link>
      <description>&lt;P&gt;Esri shapefiles are easiest way to get started. You can import shapefiles into CAS rather than host it on an Esri feature service.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I seem to remember there was a SAS Global Forum paper on this topic (polylines), but I can't seem to find it. I'll keep looking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Making your own data, you need to have data like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lines.png" style="width: 587px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82124i466B0225F439AFE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="lines.png" alt="lines.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is, you need these columns:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;X and Y (latitude/longitude) projected coordinates&lt;/LI&gt;
&lt;LI&gt;A sequence column that tells what order the coordinates should be connected in&lt;/LI&gt;
&lt;LI&gt;An ID column that identifies the lines and is used for matching. The values for this need to match the values of a column in your report.&lt;/LI&gt;
&lt;LI&gt;A segment identifier column that identifies the segments in each line. I believe this is optional? It has been a little while since I worked with polylines. In the data set I am testing with, the value for every row is "1" for this column.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hopefully that will help you get started. To define the geographic provider, you need to have special permissions. Usually it is easiest to just log in as an admin if you such a login available to you. Otherwise you could ask your administrator to grant you&amp;nbsp;&lt;SPAN&gt;Create, Delete, and Update permissions for the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="xisDoc-inlineCode"&gt;/maps/providers&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;URI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know how it goes!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 17:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/866780#M17068</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-03-28T17:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/869131#M17116</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, no success so far.&lt;/P&gt;
&lt;P&gt;I have converted the shp file&amp;nbsp;NC_RoadLink.shp (all the SHP related files are in the zip file attached NC_RoadLink.zip) using %shpimprt like below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%shpimprt(shapefilepath=/folder1/folder2/NC_RoadLink.shp, id=identifier, outtable=road_links, cashost=controller.address, casport=5570, caslib='casuser');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This has created the table road_links in CASUSER caslib.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a new Geography provider using the settings from "Edit_Geographic_Data_provider.zip" and the Geography data item using the settings from "Edit_geography_item.zip".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, even if I selected "Polyline" Geometry Type the output created is made of points rather than links. The points created follow very well existing roads, as it can be seen in the results "Output_zoom_out.zip" and "Output_zoom_in.zip".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone advise way points are created instead of links?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;smm662002&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 14:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/869131#M17116</guid>
      <dc:creator>smm662002</dc:creator>
      <dc:date>2023-04-11T14:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/869176#M17117</link>
      <description>&lt;P&gt;Sorry you are having trouble, but it looks like you have completed the more difficult steps successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show what the road_links table looks like? You could put it in a list table object and make a screen capture, or export to CSV. I don't have the tools handy to visualize the shapefile directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 18:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/869176#M17117</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-04-11T18:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/869224#M17118</link>
      <description>Hi, looking at your output screenshots - it seems you have used the Geo Coordinate visual object which will indeed always render locations using markers. You would want to use the Geo Line object instead now that your geographic items is configured using a polyline based geo data provider. Hope this helps. Falko</description>
      <pubDate>Tue, 11 Apr 2023 22:34:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/869224#M17118</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2023-04-11T22:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/943594#M18336</link>
      <description>&lt;P&gt;using your method i was able to create polyline but when i try to have multiple polylines using different identifiers it is showing as blank. when i make provider only for a specific identifier it works and otherwise it wont&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 06:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/943594#M18336</guid>
      <dc:creator>HAVIER</dc:creator>
      <dc:date>2024-09-12T06:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create geo-line geography roles</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/943729#M18337</link>
      <description>Can you share how your geo data provider structure looks like? If you have more than one polyline - each of these lines would get a unique identifier assigned. Given it's a line - you will need more than two rows representing the lines (minimum a start and an end point). You would repeat this for any line - each with it's own identifier. &lt;BR /&gt;&lt;BR /&gt;In your business data (the table used in the report) - would just carry the actual line identifiers and you would use related column when mapping the geo data provider. Assuming - those match successfully - you should be able to see multiple polylines in your geo map.&lt;BR /&gt;&lt;BR /&gt;If you can't get it to work - maybe share the first couple of rows representing your lines as well as an extract of your business data. If you see any warnings via the small 'i' icon in the bottom right corner of the geo map - see whether it helps to narrow down the issue.&lt;BR /&gt;&lt;BR /&gt;Falko</description>
      <pubDate>Fri, 13 Sep 2024 00:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-geo-line-geography-roles/m-p/943729#M18337</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2024-09-13T00:31:16Z</dc:date>
    </item>
  </channel>
</rss>

