<?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 weird lines on map of country of Georgia in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/weird-lines-on-map-of-country-of-Georgia/m-p/338410#M11763</link>
    <description>&lt;P&gt;I'm just running some very basic code and wondering what the weird lines are and how to get rid of them. (NOTE this is the country of Georgia, not the state of Georgia).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gmap
data=mapsgfk.georgia
map=mapsgfk.georgia;
id id1;
choro id1 ;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7577iA7017833208B7639/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="georgia.png" title="georgia.png" /&gt;&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Mon, 06 Mar 2017 11:12:22 GMT</pubDate>
    <dc:creator>hzt7</dc:creator>
    <dc:date>2017-03-06T11:12:22Z</dc:date>
    <item>
      <title>weird lines on map of country of Georgia</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/weird-lines-on-map-of-country-of-Georgia/m-p/338410#M11763</link>
      <description>&lt;P&gt;I'm just running some very basic code and wondering what the weird lines are and how to get rid of them. (NOTE this is the country of Georgia, not the state of Georgia).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gmap
data=mapsgfk.georgia
map=mapsgfk.georgia;
id id1;
choro id1 ;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7577iA7017833208B7639/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="georgia.png" title="georgia.png" /&gt;&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Mar 2017 11:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/weird-lines-on-map-of-country-of-Georgia/m-p/338410#M11763</guid>
      <dc:creator>hzt7</dc:creator>
      <dc:date>2017-03-06T11:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: weird lines on map of country of Georgia</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/weird-lines-on-map-of-country-of-Georgia/m-p/338438#M11764</link>
      <description>&lt;P&gt;I think the problem is that this data set has both ID and ID1 variables. Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gmap data=mapsgfk.georgia
map=mapsgfk.georgia;
id ID;
choro id1;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Mar 2017 13:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/weird-lines-on-map-of-country-of-Georgia/m-p/338438#M11764</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-03-06T13:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: weird lines on map of country of Georgia</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/weird-lines-on-map-of-country-of-Georgia/m-p/338478#M11765</link>
      <description>&lt;P&gt;The general behavior results from polygons at one level not being quite closed in regards to the id variable.&lt;/P&gt;
&lt;P&gt;Here's a brief example:&lt;/P&gt;
&lt;PRE&gt;data example;
   input id x y id2;
datalines;
1 10 10 1 
1 10 15 1 
1 15 15 1 
1 15 10 1 
1 16 27 2 
1 25 27 2 
1 25 12 2 
1 16 12 2 
;
run;

proc gmap map=example data=example;
   id id;
   choro id;
run;
quit;


proc gmap map=example data=example;
   id id2;
   choro id2;
run;
quit;&lt;/PRE&gt;
&lt;P&gt;Note that for ID the boundary continues (connects to) the area identified with id2 when using ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 15:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/weird-lines-on-map-of-country-of-Georgia/m-p/338478#M11765</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-06T15:50:21Z</dc:date>
    </item>
  </channel>
</rss>

