<?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 SGMAP: Label Polygons in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Label-Polygons/m-p/789158#M22480</link>
    <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got the graph to look like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anita_n_0-1641737474756.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67240iF4D3C98CC2D5BBD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anita_n_0-1641737474756.png" alt="Anita_n_0-1641737474756.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there any way to get the names of the ploygon in the graph? In this case id1name (should be bold) and display the id boundaries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*create mapdata;&lt;BR /&gt;proc sql;&lt;BR /&gt;create table germany as select a.*, b.id1name from mapsgfk.germany a natural join mapsgfk.germany_attr b&lt;BR /&gt;where a.id = b.id;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;proc gremove data=germany out=germany_gremove;&lt;BR /&gt;by id1;&lt;BR /&gt;id id;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;*create Map;&lt;BR /&gt;proc sgmap mapdata=germany_gremove  maprespdata=respdata plotdata=respdata noautolegend;
openstreetmap;
choromap id1/ mapid=id1  id=id1 name="choro" lineattrs=(thickness=1 color=graybb);
bubble x=longc y=latc size= no_of_cases / bradiusmin=3px bradiusmax=8px  fill fillattrs=(color=darkred) outline name="bubl";
Keylegend "bubl";&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and the used data&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jan 2022 18:53:35 GMT</pubDate>
    <dc:creator>Anita_n</dc:creator>
    <dc:date>2022-01-09T18:53:35Z</dc:date>
    <item>
      <title>SGMAP: Label Polygons</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Label-Polygons/m-p/789158#M22480</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got the graph to look like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anita_n_0-1641737474756.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67240iF4D3C98CC2D5BBD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anita_n_0-1641737474756.png" alt="Anita_n_0-1641737474756.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there any way to get the names of the ploygon in the graph? In this case id1name (should be bold) and display the id boundaries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*create mapdata;&lt;BR /&gt;proc sql;&lt;BR /&gt;create table germany as select a.*, b.id1name from mapsgfk.germany a natural join mapsgfk.germany_attr b&lt;BR /&gt;where a.id = b.id;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;proc gremove data=germany out=germany_gremove;&lt;BR /&gt;by id1;&lt;BR /&gt;id id;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;*create Map;&lt;BR /&gt;proc sgmap mapdata=germany_gremove  maprespdata=respdata plotdata=respdata noautolegend;
openstreetmap;
choromap id1/ mapid=id1  id=id1 name="choro" lineattrs=(thickness=1 color=graybb);
bubble x=longc y=latc size= no_of_cases / bradiusmin=3px bradiusmax=8px  fill fillattrs=(color=darkred) outline name="bubl";
Keylegend "bubl";&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and the used data&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 18:53:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Label-Polygons/m-p/789158#M22480</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2022-01-09T18:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: SGMAP: Label Polygons</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Label-Polygons/m-p/789208#M22484</link>
      <description>&lt;P&gt;You can use the TEXT statement like so:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;text x=longc y=latc text=id1name /  position=topright;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jan 2022 10:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Label-Polygons/m-p/789208#M22484</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2022-01-10T10:31:30Z</dc:date>
    </item>
  </channel>
</rss>

