<?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: Adding shapefiles to SAS Map in GMAP in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765321#M21923</link>
    <description>OK.  I got it to work, BUT I have a slight issue.  I imported the shapefile, added lat and Long using the X Y variables, combined it with the map data, projected the combined set, and then split the files back to the Map and anno sets.  However, the resulting map is now tilted to the right.  Is there any way to remove the tilted earth effect?</description>
    <pubDate>Wed, 01 Sep 2021 12:24:31 GMT</pubDate>
    <dc:creator>RandoDando</dc:creator>
    <dc:date>2021-09-01T12:24:31Z</dc:date>
    <item>
      <title>Adding shapefiles to SAS Map in GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765311#M21922</link>
      <description>&lt;P&gt;I am wondering how to add an external shapefile overtop a US county map in SAS using GMAP (SGMAP not in my license).&amp;nbsp; The county choro map I have uses state and county as the IDs, county as the choro variable.&amp;nbsp; The external shapefile does not have state and county fields, the only corresponding fields are X, Y.&amp;nbsp; I've used GREMOVE and annotate to add layers in the past, but each time those additional layers already had the same matching ID variables (e.g. state, county) I was using in GMAP.&amp;nbsp; All I need is an example, and I can go from there.&amp;nbsp; A google search has yielded nothing helpful. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 11:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765311#M21922</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2021-09-01T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding shapefiles to SAS Map in GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765321#M21923</link>
      <description>OK.  I got it to work, BUT I have a slight issue.  I imported the shapefile, added lat and Long using the X Y variables, combined it with the map data, projected the combined set, and then split the files back to the Map and anno sets.  However, the resulting map is now tilted to the right.  Is there any way to remove the tilted earth effect?</description>
      <pubDate>Wed, 01 Sep 2021 12:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765321#M21923</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2021-09-01T12:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding shapefiles to SAS Map in GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765346#M21924</link>
      <description>&lt;P&gt;Solved.&amp;nbsp; Adding in LONGMAX= (to max long value of the map data) to the GPROJECT statement fixed this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765346#M21924</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2021-09-01T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding shapefiles to SAS Map in GMAP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765456#M21925</link>
      <description>&lt;P&gt;I think this example should provide some good tips, similar to what you're wanting to do.&lt;/P&gt;
&lt;P&gt;In particular, I recommend using the new(ish) Proc Gproject parmout and parmin parameters, so you can project the map and shapefile/annotate separately (this will probably help you avoid that 'tilt' you mentioned).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd97/hurricane_evacuation.htm" target="_blank"&gt;http://robslink.com/SAS/democd97/hurricane_evacuation.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://robslink.com/SAS/democd97/hurricane_evacuation.sas" target="_blank"&gt;https://robslink.com/SAS/democd97/hurricane_evacuation.sas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this example, the yellow underlying map is a county map, and the colored evacuation zones are annotated (created from a shapefile).&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="hurricane_evacuation5.png" style="width: 800px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63221i6DFF22CC580667E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="hurricane_evacuation5.png" alt="hurricane_evacuation5.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 17:50:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-shapefiles-to-SAS-Map-in-GMAP/m-p/765456#M21925</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-09-01T17:50:34Z</dc:date>
    </item>
  </channel>
</rss>

