<?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 How to enlarge or zoom in Proc GMap's maps size(height &amp; width) in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-enlarge-or-zoom-in-Proc-GMap-s-maps-size-height-width/m-p/218770#M8154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been drawing some cool maps using PROC GMAP. However, because the map is more detailed to suburbs, it's quiet difficult to make out towns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have loved to just be able to increase or decrease the map size to any scale to fit the view I want. Am thinking there should be an easy way out. I was using width and height in ODS Graphics but I see no effect. Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Code am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;/*Filter for the City of Johannesburg*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DATA SP_SAmaps;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET userlib2.SP_SAmaps(where=(DC_MDB_C='JHB'));&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Draw-up the MAP*/&lt;/P&gt;&lt;P&gt;ods graphics on /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width=300in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height=300in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagefmt=gif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagemap=on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagename="SA_Map"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border=off;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title1 ls=1.5 "City of Johannesburg";&lt;/P&gt;&lt;P&gt;pattern1 v=s c=white ;&lt;/P&gt;&lt;P&gt;PROC GMAP map=SP_SAmaps data=SP_SAmaps;&lt;/P&gt;&lt;P&gt;&amp;nbsp; id SP_NAME;&lt;/P&gt;&lt;P&gt;&amp;nbsp; choro MP_NAME /&amp;nbsp; discrete NOLEGEND coutline=gray88 ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;ods graphics OFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 09:03:27 GMT</pubDate>
    <dc:creator>Prince12</dc:creator>
    <dc:date>2015-05-26T09:03:27Z</dc:date>
    <item>
      <title>How to enlarge or zoom in Proc GMap's maps size(height &amp; width)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-enlarge-or-zoom-in-Proc-GMap-s-maps-size-height-width/m-p/218770#M8154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been drawing some cool maps using PROC GMAP. However, because the map is more detailed to suburbs, it's quiet difficult to make out towns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have loved to just be able to increase or decrease the map size to any scale to fit the view I want. Am thinking there should be an easy way out. I was using width and height in ODS Graphics but I see no effect. Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Code am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;/*Filter for the City of Johannesburg*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DATA SP_SAmaps;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET userlib2.SP_SAmaps(where=(DC_MDB_C='JHB'));&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Draw-up the MAP*/&lt;/P&gt;&lt;P&gt;ods graphics on /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width=300in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height=300in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagefmt=gif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagemap=on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imagename="SA_Map"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border=off;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title1 ls=1.5 "City of Johannesburg";&lt;/P&gt;&lt;P&gt;pattern1 v=s c=white ;&lt;/P&gt;&lt;P&gt;PROC GMAP map=SP_SAmaps data=SP_SAmaps;&lt;/P&gt;&lt;P&gt;&amp;nbsp; id SP_NAME;&lt;/P&gt;&lt;P&gt;&amp;nbsp; choro MP_NAME /&amp;nbsp; discrete NOLEGEND coutline=gray88 ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;ods graphics OFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 09:03:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-enlarge-or-zoom-in-Proc-GMap-s-maps-size-height-width/m-p/218770#M8154</guid>
      <dc:creator>Prince12</dc:creator>
      <dc:date>2015-05-26T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to enlarge or zoom in Proc GMap's maps size(height &amp; width)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-enlarge-or-zoom-in-Proc-GMap-s-maps-size-height-width/m-p/218771#M8155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several ways.&amp;nbsp; I'm not sure what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, GOPTION xpixels/ypixels can be used to make the map bigger:&lt;/P&gt;&lt;P&gt;goption xpixels=1000 ypixels=1000; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, you can use Proc GPROJECT to "clip" the map in just one area or part of Johannesburg.&lt;/P&gt;&lt;P&gt;So, you are not showing the entire map, but only part of it.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gr23n03-ex.htm"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gr23n03-ex.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally, you can use the JAVA driver to make a map that you can interactively pan and zoom in on.&lt;/P&gt;&lt;P&gt;Go to &lt;A href="http://support.sas.com/rnd/papers/#2013"&gt;http://support.sas.com/rnd/papers/#2013 &lt;/A&gt; and look for the paper and examples &lt;EM&gt;&lt;STRONG style="color: #333333; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: small;"&gt;Google-like Maps in SAS.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 13:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-enlarge-or-zoom-in-Proc-GMap-s-maps-size-height-width/m-p/218771#M8155</guid>
      <dc:creator>Darrell_sas</dc:creator>
      <dc:date>2015-05-26T13:59:07Z</dc:date>
    </item>
  </channel>
</rss>

