<?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: Mapping code without using `esrimap ` step in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Mapping-code-without-using-esrimap-step/m-p/978636#M378662</link>
    <description>&lt;P&gt;If you can't use ESRI, you would need to somehow upload a shapefile (in this case, a US state shapefile) to whatever the location is where your data are.&amp;nbsp; I don't think base SAS has any 'built-in' shapefiles in sashelp, but I could be wrong.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally, these files are actually a set of files (.shp, .shx, etc.) - you'd upload them all to one folder, then use PROC MAPIMPORT to convert these into a SAS dataset (by pointing it at the .shp file).&amp;nbsp; &amp;nbsp;There are various other procedures you can use to manipulate that file afterwards (GREDUCE, GRPOJECT, etc.) depending on your needs, after which you'd use SGMAP or GMAP to create the map (along with your dataset that contains the values to be plotted).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Nov 2025 02:28:49 GMT</pubDate>
    <dc:creator>quickbluefish</dc:creator>
    <dc:date>2025-11-11T02:28:49Z</dc:date>
    <item>
      <title>Mapping code without using `esrimap ` step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mapping-code-without-using-esrimap-step/m-p/978633#M378660</link>
      <description>&lt;P&gt;Anyone knows if there is a local solution to replace "ESRIMAP" step in the code below? I searched how to map on SAS, but my data platform doesn't allow me use any internet. So this example leads to a picture with gradient only but no map.&lt;/P&gt;
&lt;DIV id="p1pfvadd3zmwp5n1vb990smuipak" class="xisDoc-codeBlock"&gt;
&lt;PRE class="xisDoc-code  language-sas"&gt;&lt;CODE&gt;proc sgmap mapdata=states
  maprespdata=sashelp.us_data
  plotdata=plot_data;
  esrimap
  url='https://services.arcgisonline.com/arcgis/rest/services/Canvas/
World_Light_Gray_Base/MapServer';
  choromap population_2020 / mapid=state density=2
    name='choro';
  text x=long y=lat text=statename /
    textattrs=(size=6pt);
  gradlegend 'choro' / title='2020 Population' 
	   extractscale;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV id="n0rbeefn7oxogmn0zb1xdpep9xck" class="xisDoc-codeBlock"&gt;
&lt;PRE class="xisDoc-code  language-sas"&gt;&lt;CODE&gt;ods graphics / reset;
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 02:09:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mapping-code-without-using-esrimap-step/m-p/978633#M378660</guid>
      <dc:creator>aw016</dc:creator>
      <dc:date>2025-11-11T02:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping code without using `esrimap ` step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mapping-code-without-using-esrimap-step/m-p/978636#M378662</link>
      <description>&lt;P&gt;If you can't use ESRI, you would need to somehow upload a shapefile (in this case, a US state shapefile) to whatever the location is where your data are.&amp;nbsp; I don't think base SAS has any 'built-in' shapefiles in sashelp, but I could be wrong.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally, these files are actually a set of files (.shp, .shx, etc.) - you'd upload them all to one folder, then use PROC MAPIMPORT to convert these into a SAS dataset (by pointing it at the .shp file).&amp;nbsp; &amp;nbsp;There are various other procedures you can use to manipulate that file afterwards (GREDUCE, GRPOJECT, etc.) depending on your needs, after which you'd use SGMAP or GMAP to create the map (along with your dataset that contains the values to be plotted).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 02:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mapping-code-without-using-esrimap-step/m-p/978636#M378662</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2025-11-11T02:28:49Z</dc:date>
    </item>
  </channel>
</rss>

