<?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: SGMAP: Display county boundaries in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Display-county-boundaries/m-p/789206#M22483</link>
    <description>&lt;P&gt;For some plot statement an option called DATASKIN is available to achieve 3D effect on the plot. See&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1bzuy9irdjkujn1d4bfpxfmc7rs.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1bzuy9irdjkujn1d4bfpxfmc7rs.htm&lt;/A&gt;&amp;nbsp;for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately the BUBBLE statement in Proc SGMAP does not support this option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However you can create your own style that defines a data skin. See this example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
/*
 * define a location where to add new "things" defined with Proc TEMPLATE
 * and where to look first for "Things"
 */
ods path
  (prepend) work.mytemplates (update)
;

/*
 * create a new style based on htmlblue
 */
proc template;
  define style myhtmlblue;
    parent=styles.htmlblue;
    class GraphSkins /
      DataSkin = "Gloss"
    ;
  end;
run;

/*
 * create the output using the specific style
 */
ods html5 file="c:\temp\sgmap.html" style=myhtmlblue  options(bitmap_mode='inline');

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=12px fill fillattrs=(color=darkred) outline name="bubl"

  ;
  Keylegend "bubl";
run;

ods html5 close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jan 2022 09:41:53 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2022-01-10T09:41:53Z</dc:date>
    <item>
      <title>SGMAP: Display county boundaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Display-county-boundaries/m-p/789157#M22479</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;Is it possible to make the bubbles 3D&lt;/P&gt;
&lt;P&gt;here the code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*create mapdata;
proc sql;
create table germany as select a.*, b.id1name from mapsgfk.germany a natural join mapsgfk.germany_attr b
where a.id = b.id;
quit;

proc gremove data=germany out=germany_gremove;
by id1;
id id;
run;

*create Map;
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";
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jan 2022 18:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Display-county-boundaries/m-p/789157#M22479</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2022-01-09T18:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: SGMAP: Display county boundaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Display-county-boundaries/m-p/789206#M22483</link>
      <description>&lt;P&gt;For some plot statement an option called DATASKIN is available to achieve 3D effect on the plot. See&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1bzuy9irdjkujn1d4bfpxfmc7rs.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1bzuy9irdjkujn1d4bfpxfmc7rs.htm&lt;/A&gt;&amp;nbsp;for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately the BUBBLE statement in Proc SGMAP does not support this option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However you can create your own style that defines a data skin. See this example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
/*
 * define a location where to add new "things" defined with Proc TEMPLATE
 * and where to look first for "Things"
 */
ods path
  (prepend) work.mytemplates (update)
;

/*
 * create a new style based on htmlblue
 */
proc template;
  define style myhtmlblue;
    parent=styles.htmlblue;
    class GraphSkins /
      DataSkin = "Gloss"
    ;
  end;
run;

/*
 * create the output using the specific style
 */
ods html5 file="c:\temp\sgmap.html" style=myhtmlblue  options(bitmap_mode='inline');

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=12px fill fillattrs=(color=darkred) outline name="bubl"

  ;
  Keylegend "bubl";
run;

ods html5 close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 09:41:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGMAP-Display-county-boundaries/m-p/789206#M22483</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2022-01-10T09:41:53Z</dc:date>
    </item>
  </channel>
</rss>

