<?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 PROC GMAP using maps.uscity in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379366#M13106</link>
    <description>&lt;P&gt;It has been many years since I've used GMAP and I've never used the uscity data set.&amp;nbsp; I want to display a count of providers per city in a particular state.&amp;nbsp; I don't get errors and I can see the legend but the map does not appear.&amp;nbsp; I'm sure there is some basic thing I'm missing.&amp;nbsp; This is my code...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;gmap&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;=PERFS&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;MAP&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;=MAPS.uscity &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;ALL&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt; STATECODE = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier" size="2"&gt;'CA'&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;ID&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt; STATE PLACE;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;CHORO&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt; PERFS/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;COUTLINE&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;=BLACK;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;My data set called perfs contains 5 variables.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;City = name of the city&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;Statecode = 2 alphas for the state (e.g. CA for California)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;perfs = number of perfs in the city&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;state = numeric fips code for state (e.g. 1 for Alabama)&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;place = place variable&amp;nbsp;merged in from maps.uscity based on state and city&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;Any direction is much appreciated.&amp;nbsp; If helpful, I'm using SAS v9.3 in the windows environment.&amp;nbsp; Thanks!&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2017 12:53:12 GMT</pubDate>
    <dc:creator>Char</dc:creator>
    <dc:date>2017-07-26T12:53:12Z</dc:date>
    <item>
      <title>PROC GMAP using maps.uscity</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379366#M13106</link>
      <description>&lt;P&gt;It has been many years since I've used GMAP and I've never used the uscity data set.&amp;nbsp; I want to display a count of providers per city in a particular state.&amp;nbsp; I don't get errors and I can see the legend but the map does not appear.&amp;nbsp; I'm sure there is some basic thing I'm missing.&amp;nbsp; This is my code...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;gmap&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;=PERFS&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;MAP&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;=MAPS.uscity &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;ALL&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;WHERE&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt; STATECODE = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier" size="2"&gt;'CA'&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;ID&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt; STATE PLACE;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;CHORO&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt; PERFS/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier" size="2"&gt;COUTLINE&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;=BLACK;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier" size="2"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;My data set called perfs contains 5 variables.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;City = name of the city&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;Statecode = 2 alphas for the state (e.g. CA for California)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;perfs = number of perfs in the city&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;state = numeric fips code for state (e.g. 1 for Alabama)&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;place = place variable&amp;nbsp;merged in from maps.uscity based on state and city&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;Any direction is much appreciated.&amp;nbsp; If helpful, I'm using SAS v9.3 in the windows environment.&amp;nbsp; Thanks!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:53:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379366#M13106</guid>
      <dc:creator>Char</dc:creator>
      <dc:date>2017-07-26T12:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GMAP using maps.uscity</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379368#M13107</link>
      <description>&lt;P&gt;It's a bit difficult to be certain without seeing some data from PERFS but I suspect the problem might lie with your where clause - try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc gmap data=PERFS
MAP=MAPS.uscity(WHERE STATECODE = 'CA') ALL;
ID STATE PLACE;
CHORO PERFS/COUTLINE=BLACK;
RUN;
QUIT;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379368#M13107</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-07-26T13:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GMAP using maps.uscity</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379374#M13108</link>
      <description>&lt;P&gt;That didn't seem to do it.&amp;nbsp; Here is an example of what my data in perfs looks like...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="sample.jpg" alt="sample.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/10526i733A982B1CE9426D/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is completely made up - the place values don't match anything in CA - at least I don't believe so.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:29:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379374#M13108</guid>
      <dc:creator>Char</dc:creator>
      <dc:date>2017-07-26T13:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GMAP using maps.uscity</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379398#M13109</link>
      <description>&lt;P&gt;Maps.UScity is a feature data set. It does not contain state boundaries. So that may be part of the issue. The values (counts) associated with cities would be in an annotate data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On this page, &lt;A href="http://robslink.com/SAS/democd44/aaaindex.htm" target="_blank"&gt;http://robslink.com/SAS/democd44/aaaindex.htm&lt;/A&gt; , there is a link to Example 12. Cities that shows placing total values for a few cities on a US map.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 14:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379398#M13109</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-07-26T14:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GMAP using maps.uscity</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379420#M13110</link>
      <description>&lt;P&gt;Ah - I did not know that.&amp;nbsp; Thanks, that is exactly what I was looking for!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 14:55:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GMAP-using-maps-uscity/m-p/379420#M13110</guid>
      <dc:creator>Char</dc:creator>
      <dc:date>2017-07-26T14:55:50Z</dc:date>
    </item>
  </channel>
</rss>

