<?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: proc gmap in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983710#M379553</link>
    <description>&lt;P&gt;Thank you Marcia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have an issue with ID column in my data. I need to recod it.&lt;/P&gt;
&lt;P&gt;What represents the id and id1 in mapsgfk.france ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I joined my data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 18 Feb 2026 16:37:51 GMT</pubDate>
    <dc:creator>SASdevAnneMarie</dc:creator>
    <dc:date>2026-02-18T16:37:51Z</dc:date>
    <item>
      <title>proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983704#M379550</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I'm using the proc gmap to display the map of France by department, but the result does not have the Corse departments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The id&amp;nbsp; for this department is "2A" and "2B".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know, please, how to display the name of departments?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 14:56:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983704#M379550</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-18T14:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983707#M379551</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the annotate facility to place the department names on the map.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The %maplabel annotate macro will calculate the center of the map area and create an annotate data set to place the label on the map.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%annomac;
%maplabel(mapsgfk.france,mapsgfk.france_attr,labels,idname,id); /* the text for label is in the IDNAME variable */
proc gmap data=mapsgfk.france_attr map=mapsgfk.france;
  where id1='FR-94'; /* subset for Corse region for demo */
  by id;
  id id;
  choro id / discrete  anno=labels;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Marcia&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 16:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983707#M379551</guid>
      <dc:creator>MarciaS</dc:creator>
      <dc:date>2026-02-18T16:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983708#M379552</link>
      <description>&lt;P&gt;One of the nice things about the way the SAS macro language works is that even when you have defined your macro to allow the parameter values to be passed by their position in the macro call you can still pass the values using the parameter names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This makes for code that is more self documenting.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%maplabel
(mapds=mapsgfk.france
,attrds=mapsgfk.france_attr
,outds=labels
,textvar=idname
,ids=id
,font=swiss
,color=black
,size=2
,hsys=3
,segonly=
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 16:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983708#M379552</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-02-18T16:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983710#M379553</link>
      <description>&lt;P&gt;Thank you Marcia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have an issue with ID column in my data. I need to recod it.&lt;/P&gt;
&lt;P&gt;What represents the id and id1 in mapsgfk.france ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I joined my data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 16:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983710#M379553</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-18T16:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983713#M379554</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your TEST data set, the ID variable appears to correspond to the ID variable in the MAPSGFK.FRANCE data set except for the observations for the Corse region.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The TEST data set has 3 observations with ID='FR-94'.&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" border="0" summary="Procedure Print: Data Set TMP1.TEST" frame="box" rules="all" cellspacing="0" cellpadding="7"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;Obs&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;id&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;nom_departement&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;Valeur&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;98&lt;/TH&gt;
&lt;TD class="l data"&gt;FR-94&lt;/TD&gt;
&lt;TD class="l data"&gt;Corse-du-Sud&lt;/TD&gt;
&lt;TD class="r data"&gt;7.6895&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;99&lt;/TH&gt;
&lt;TD class="l data"&gt;FR-94&lt;/TD&gt;
&lt;TD class="l data"&gt;Haute-Corse&lt;/TD&gt;
&lt;TD class="r data"&gt;6.4195&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;100&lt;/TH&gt;
&lt;TD class="l data"&gt;FR-94&lt;/TD&gt;
&lt;TD class="l data"&gt;Val-de-Marne&lt;/TD&gt;
&lt;TD class="r data"&gt;18.9159&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For observations 98 and 99, the ID value should be FR-2A and FR-2B, respectively, and their region code (ID1 in MAPSGFK.FRANCE) would be FR-94.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Observation 100 has the correct Deparment code FR-94.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;Marcia&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Feb 2026 17:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983713#M379554</guid>
      <dc:creator>MarciaS</dc:creator>
      <dc:date>2026-02-18T17:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983728#M379559</link>
      <description>Check Rick 's blog:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2015/11/18/create-a-map-with-proc-sgplot.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2015/11/18/create-a-map-with-proc-sgplot.html&lt;/A&gt;</description>
      <pubDate>Thu, 19 Feb 2026 03:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983728#M379559</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-02-19T03:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983729#M379560</link>
      <description>&lt;P&gt;And Robert.Allision blog:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2021/10/22/how-to-mislabel-a-map/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/graphicallyspeaking/2021/10/22/how-to-mislabel-a-map/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2020/10/29/coronavirus-per-million-per-100k-or-percent/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2020/10/29/coronavirus-per-million-per-100k-or-percent/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 03:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983729#M379560</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-02-19T03:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983732#M379563</link>
      <description>&lt;P&gt;I have an issue with this ID1, its seems missing in&amp;nbsp;mapsgfk.france.&lt;/P&gt;
&lt;TABLE width="306"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="120"&gt;nom_departement&lt;/TD&gt;
&lt;TD width="82"&gt;code_region&lt;/TD&gt;
&lt;TD width="63"&gt;ID1&lt;/TD&gt;
&lt;TD width="41"&gt;ID&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Guadeloupe&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;FR-.&lt;/TD&gt;
&lt;TD&gt;FR-97&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Martinique&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;FR-.&lt;/TD&gt;
&lt;TD&gt;FR-97&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Guyane&lt;/TD&gt;
&lt;TD&gt;3&lt;/TD&gt;
&lt;TD&gt;FR-.&lt;/TD&gt;
&lt;TD&gt;FR-97&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;La Réunion&lt;/TD&gt;
&lt;TD&gt;4&lt;/TD&gt;
&lt;TD&gt;FR-.&lt;/TD&gt;
&lt;TD&gt;FR-97&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 19 Feb 2026 09:01:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983732#M379563</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-19T09:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983755#M379566</link>
      <description>I make the map, thank you. I can not display only the Overseas departments.</description>
      <pubDate>Thu, 19 Feb 2026 15:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/983755#M379566</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-19T15:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/984794#M379740</link>
      <description>Hello Tom,&lt;BR /&gt;Is it possible to reduce the police? I have the same huge labels even with size=0.05, hsys=0.05.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Sun, 15 Mar 2026 14:22:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-gmap/m-p/984794#M379740</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-03-15T14:22:05Z</dc:date>
    </item>
  </channel>
</rss>

