<?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: Building on &amp;quot;Proc GMap County and State Boundries&amp;quot; in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Building-on-quot-Proc-GMap-County-and-State-Boundries-quot/m-p/587784#M18859</link>
    <description>&lt;P&gt;This example might help some:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd102/us_dry_counties.htm" target="_blank"&gt;http://robslink.com/SAS/democd102/us_dry_counties.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd102/us_dry_counties_info.htm" target="_blank"&gt;http://robslink.com/SAS/democd102/us_dry_counties_info.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 11:25:36 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2019-09-11T11:25:36Z</dc:date>
    <item>
      <title>Building on "Proc GMap County and State Boundries"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Building-on-quot-Proc-GMap-County-and-State-Boundries-quot/m-p/587381#M18853</link>
      <description>&lt;P&gt;Using the excellent instructions recommended in Proc GMap County and State Boundaries" responses, I created a map with heavy state boundaries and lighter county boundaries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I used the instructions found in this document&amp;nbsp;&lt;A href="https://www.lexjansen.com/nesug/nesug03/bt/bt005.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug03/bt/bt005.pdf&lt;/A&gt;&amp;nbsp;to create a colored chrono map with select counties in various colors.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the results are a mish mash of dark and lighter lines. The appropriate counties are correctly colored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gmap map=AdaMap data=AdaMap anno=State_outline;&lt;BR /&gt;id state county;&lt;BR /&gt;choro segment / levels=1&lt;BR /&gt;nolegend&lt;BR /&gt;coutline=grayaa;&amp;nbsp; &amp;nbsp; *Light grey county lines;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Create st/co fips var in Map dataset and data dataset for matching;&lt;BR /&gt;data AdaData;&lt;BR /&gt;set AdaData;&lt;BR /&gt;FIPS=cats(W_StFIPS,"_",W_CoFIPS);&lt;BR /&gt;put FIPS=;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data AdaMap;&lt;BR /&gt;set adamap;&lt;BR /&gt;FIPS=cats(State,"_",County);&lt;BR /&gt;put FIPS=;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* Preparing for the chrono map&amp;nbsp;*/&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value Workers_fmt&lt;BR /&gt;0-25 = '1 to 25'&lt;BR /&gt;26-50 = '26 to 50'&lt;BR /&gt;51-100 = '51 to 100'&lt;BR /&gt;101-200 = '100 to 200'&lt;BR /&gt;201-500 = '201 to 500'&lt;BR /&gt;501-1000 = '501-1,000'&lt;BR /&gt;1000-500000 = 'Over 1,000'&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* fill patterns for the map areas;&lt;BR /&gt;pattern1 v=s c=pab;&lt;BR /&gt;pattern2 v=s c=grpb;&lt;BR /&gt;pattern3 v=s c=mogb;&lt;BR /&gt;pattern4 v=s c=mopb;&lt;BR /&gt;pattern5 v=s c=grb;&lt;BR /&gt;pattern6 v=s c=papb;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* create instructions for legend location and appearance;&lt;BR /&gt;legend1&lt;BR /&gt;origin=(5,10) pct&amp;nbsp;&lt;BR /&gt;mode=share&amp;nbsp;&lt;BR /&gt;across=1&amp;nbsp;&lt;BR /&gt;label=none&lt;BR /&gt;value=(j=r)&amp;nbsp;&lt;BR /&gt;shape=bar(3,4) pct;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gmap&lt;BR /&gt;data=AdaData&amp;nbsp;&lt;BR /&gt;map=AdaMap (where=(density lt 6))&amp;nbsp;&lt;BR /&gt;all;&lt;BR /&gt;id FIPS;&amp;nbsp;&lt;BR /&gt;choro workers / discrete&lt;BR /&gt;legend=legand1;&amp;nbsp;&lt;BR /&gt;format workers workers_fmt.;&lt;BR /&gt;note ' Ada Map Data set'&amp;nbsp;&lt;BR /&gt;j=l ' Ada County Outbound Commuters';&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code. (Previous code creates the state/county map, and the following creates the colored chrono map.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Where am I going wrong?&amp;nbsp; Is there an order of procs I'm overlooking that will annotate the state outlines on top of the colored choro map?&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;proc gmap map=AdaMap data=AdaMap anno=State_outline;&lt;BR /&gt;id state county;&lt;BR /&gt;choro segment / levels=1&lt;BR /&gt;nolegend&lt;BR /&gt;coutline=grayaa;&amp;nbsp; &amp;nbsp; *Light grey county lines;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Create st/co fips var in Map dataset and data dataset for matching;&lt;BR /&gt;data AdaData;&lt;BR /&gt;set AdaData;&lt;BR /&gt;FIPS=cats(W_StFIPS,"_",W_CoFIPS);&lt;BR /&gt;put FIPS=;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data AdaMap;&lt;BR /&gt;set adamap;&lt;BR /&gt;FIPS=cats(State,"_",County);&lt;BR /&gt;put FIPS=;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* Preparing for the chrono map&amp;nbsp;*/&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value Workers_fmt&lt;BR /&gt;0-25 = '1 to 25'&lt;BR /&gt;26-50 = '26 to 50'&lt;BR /&gt;51-100 = '51 to 100'&lt;BR /&gt;101-200 = '100 to 200'&lt;BR /&gt;201-500 = '201 to 500'&lt;BR /&gt;501-1000 = '501-1,000'&lt;BR /&gt;1000-500000 = 'Over 1,000'&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* fill patterns for the map areas;&lt;BR /&gt;pattern1 v=s c=pab;&lt;BR /&gt;pattern2 v=s c=grpb;&lt;BR /&gt;pattern3 v=s c=mogb;&lt;BR /&gt;pattern4 v=s c=mopb;&lt;BR /&gt;pattern5 v=s c=grb;&lt;BR /&gt;pattern6 v=s c=papb;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* create instructions for legend location and appearance;&lt;BR /&gt;legend1&lt;BR /&gt;origin=(5,10) pct&amp;nbsp;&lt;BR /&gt;mode=share&amp;nbsp;&lt;BR /&gt;across=1&amp;nbsp;&lt;BR /&gt;label=none&lt;BR /&gt;value=(j=r)&amp;nbsp;&lt;BR /&gt;shape=bar(3,4) pct;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gmap&lt;BR /&gt;data=AdaData&amp;nbsp;&lt;BR /&gt;map=AdaMap (where=(density lt 6))&amp;nbsp;&lt;BR /&gt;all;&lt;BR /&gt;id FIPS;&amp;nbsp;&lt;BR /&gt;choro workers / discrete&lt;BR /&gt;legend=legand1;&amp;nbsp;&lt;BR /&gt;format workers workers_fmt.;&lt;BR /&gt;note ' Ada Map Data set'&amp;nbsp;&lt;BR /&gt;j=l ' Ada County Outbound Commuters';&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My ultimate goal will be to superimpose directional arrows from the source county to the commuted-to counties.&amp;nbsp; If anyone has done something similar, I would like to know how it was done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cathy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 22:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Building-on-quot-Proc-GMap-County-and-State-Boundries-quot/m-p/587381#M18853</guid>
      <dc:creator>CathyB</dc:creator>
      <dc:date>2019-09-09T22:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Building on "Proc GMap County and State Boundries"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Building-on-quot-Proc-GMap-County-and-State-Boundries-quot/m-p/587784#M18859</link>
      <description>&lt;P&gt;This example might help some:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd102/us_dry_counties.htm" target="_blank"&gt;http://robslink.com/SAS/democd102/us_dry_counties.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd102/us_dry_counties_info.htm" target="_blank"&gt;http://robslink.com/SAS/democd102/us_dry_counties_info.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 11:25:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Building-on-quot-Proc-GMap-County-and-State-Boundries-quot/m-p/587784#M18859</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2019-09-11T11:25:36Z</dc:date>
    </item>
  </channel>
</rss>

