<?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: Can I create Tranparent choromap polygons in PROC SGMAP in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511681#M17397</link>
    <description>&lt;P&gt;In your last paragraph you mention GMap (perhaps just a typo, intending SGMap?)&lt;/P&gt;
&lt;P&gt;In any event, here's how to use transparency for colors in GMap ... you can specify alpha-transparent colors in the pattern statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The form of an alpha-transparent color is &lt;STRONG&gt;Arrggbbxx&lt;/STRONG&gt; (where xx controls the amount of transparency).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example of a simple GMap, with transparent red polygons, and an image in the background (so you can see that the polygons are transparent):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;goptions iback='C:\Windows\Web\Wallpaper\Nature\img2.jpg';&lt;BR /&gt;pattern1 v=s &lt;STRONG&gt;color=Aff000055&lt;/STRONG&gt;;&lt;BR /&gt;proc gmap data=maps.us map=maps.us;&lt;BR /&gt;id statecode;&lt;BR /&gt;choro segment / levels=1 nolegend;&lt;BR /&gt;run;&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="gmap_transparent.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24796i933A05E8D3C6D522/image-size/large?v=v2&amp;amp;px=999" role="button" title="gmap_transparent.png" alt="gmap_transparent.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 13:43:04 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2018-11-09T13:43:04Z</dc:date>
    <item>
      <title>Can I create Tranparent choromap polygons in PROC SGMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511123#M17372</link>
      <description>&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I am new to the PROC SGMAP procedure and after reviewing the documentation and online examples I have a question regarding the transparency of the polygons created in the Choromap statement. Currently the only outputs I can produce displays these polygons as opaque which prevents me from viewing information on the openstreet or esri background map. I have experimented with the NOOPAQUE option in the SGMAP statement but it does not seem to effect the opacity of the choromap polygons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the GMAP procedure have the functionality to control the opacity of the choromap polygons? Is this a feature i need to control using a graph style template rather than in the SGMAP proc itself?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Nov 2018 18:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511123#M17372</guid>
      <dc:creator>tgrandchamp</dc:creator>
      <dc:date>2018-11-07T18:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create Tranparent choromap polygons in PROC SGMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511177#M17374</link>
      <description>&lt;P&gt;Use the TRANSPARENCY option on the CHOROMAP statement to do this. For example, TRANSPARENCY=0.5 is 50% transparent.&amp;nbsp;&lt;SPAN&gt;TRANSPARENCY=1.0 is fully transparent&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 20:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511177#M17374</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-11-07T20:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create Tranparent choromap polygons in PROC SGMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511182#M17376</link>
      <description>&lt;P&gt;Thank you Dan, this works great. I am shocked the TRANSPARENCY option is not included in the documentation for the SGMAP procedure!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 20:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511182#M17376</guid>
      <dc:creator>tgrandchamp</dc:creator>
      <dc:date>2018-11-07T20:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create Tranparent choromap polygons in PROC SGMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511681#M17397</link>
      <description>&lt;P&gt;In your last paragraph you mention GMap (perhaps just a typo, intending SGMap?)&lt;/P&gt;
&lt;P&gt;In any event, here's how to use transparency for colors in GMap ... you can specify alpha-transparent colors in the pattern statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The form of an alpha-transparent color is &lt;STRONG&gt;Arrggbbxx&lt;/STRONG&gt; (where xx controls the amount of transparency).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example of a simple GMap, with transparent red polygons, and an image in the background (so you can see that the polygons are transparent):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;goptions iback='C:\Windows\Web\Wallpaper\Nature\img2.jpg';&lt;BR /&gt;pattern1 v=s &lt;STRONG&gt;color=Aff000055&lt;/STRONG&gt;;&lt;BR /&gt;proc gmap data=maps.us map=maps.us;&lt;BR /&gt;id statecode;&lt;BR /&gt;choro segment / levels=1 nolegend;&lt;BR /&gt;run;&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="gmap_transparent.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24796i933A05E8D3C6D522/image-size/large?v=v2&amp;amp;px=999" role="button" title="gmap_transparent.png" alt="gmap_transparent.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 13:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-create-Tranparent-choromap-polygons-in-PROC-SGMAP/m-p/511681#M17397</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2018-11-09T13:43:04Z</dc:date>
    </item>
  </channel>
</rss>

