<?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 Trying to draw multiple gmaps on one pdf in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293153#M10328</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Am trying to draw multiple graphs on one pdf using ODS.. I have 5 gmaps and am trying to draw all of them into one pdf&lt;/P&gt;&lt;P&gt;In all the 5 maps I have annotate dataset, when am using ods concept am unable to display one of the variable from annotate data set for one gmap rest of them all are fine. And I want a Blank coverpage only with 2 titles one below other. &amp;nbsp;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is my code...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods escapechar="^";&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;BR /&gt;data test;&lt;BR /&gt;text="new1";&lt;/P&gt;&lt;P&gt;text="my acount information for the year 2016"&lt;BR /&gt;run;&lt;BR /&gt;ods pdf text="^S={font=('Arial',13pt,bold) just=center}new1";&lt;BR /&gt;ods pdf text="^S={font=('Arial',13pt,bold) just=center}&lt;SPAN&gt;my acount information for the year 2016&lt;/SPAN&gt;";&lt;/P&gt;&lt;P&gt;ods pdf file="C:\users\abc\desktop\f_maps.pdf" notoc startpage=no;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=test nowd noheader style(report)={rules=none frame=void}&lt;BR /&gt;style(column)={font_weight=bold font_size=20pt just=c};&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods pdf startpage=now;&lt;BR /&gt;/* Insert a logo and blank lines (used to move the title text to the center of page) */&lt;BR /&gt;/*ods proclabel "five graphs on one page" ;*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;goptions border hsize=3.99 in vsize=4.2 in;&lt;/P&gt;&lt;P&gt;title1 height= 2 'abc1 ';&lt;BR /&gt;title2 height= 1 'abc2';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips map=maps.us;&lt;BR /&gt;goptions horigin=0 in vorigin=4 in;&lt;BR /&gt;id STATECODE;&lt;BR /&gt;choro stcnt / annotate=stlabel coutline=grayaa;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title1 height= 2 'abc3 ';&lt;BR /&gt;title2 height= 1 'abc4';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips_CDA map=mapsgfk.CANADA;&lt;BR /&gt;goptions horigin=4.25;&lt;BR /&gt;id ID1;&lt;BR /&gt;choro cda_cnt/annotate=stlabel1 coutline=grayaa;;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;/*ods pdf close;*/&lt;BR /&gt;/*title1;*/&lt;BR /&gt;/*title2;*/&lt;BR /&gt;/**/&lt;BR /&gt;/**/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goptions border hsize=3.99 in vsize=4.2 in;&lt;BR /&gt;title1 height= 2 'abc5 ';&lt;BR /&gt;title2 height= 1 'abc6';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips_latin map=mapsgfk.world;&lt;BR /&gt;goptions horigin=0 in vorigin=4 in;&lt;BR /&gt;id idname;&lt;BR /&gt;choro country_cnt/annotate=stlabel_lat coutline=grayaa;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title1 height= 2 'abc7 ';&lt;BR /&gt;title2 height= 1 'abc8';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc gmap data=map_eu map=mapsgfk.world;&lt;BR /&gt;goptions horigin=4.25;&lt;BR /&gt;id idname;&lt;BR /&gt;choro country_cnt/annotate=stlabel_eu coutline=grayaa;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title1 height= 2 'abc9 ';&lt;BR /&gt;title2 height= 1'abc10';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips_asia map=mapsgfk.world;&lt;BR /&gt;goptions horigin=0 in vorigin=4 in;&lt;BR /&gt;id idname;&lt;BR /&gt;choro country_cnt/annotate=stlabel1 coutline=grayaa;;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2016 14:34:44 GMT</pubDate>
    <dc:creator>sanjay1</dc:creator>
    <dc:date>2016-08-22T14:34:44Z</dc:date>
    <item>
      <title>Trying to draw multiple gmaps on one pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293153#M10328</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Am trying to draw multiple graphs on one pdf using ODS.. I have 5 gmaps and am trying to draw all of them into one pdf&lt;/P&gt;&lt;P&gt;In all the 5 maps I have annotate dataset, when am using ods concept am unable to display one of the variable from annotate data set for one gmap rest of them all are fine. And I want a Blank coverpage only with 2 titles one below other. &amp;nbsp;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is my code...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods escapechar="^";&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;BR /&gt;data test;&lt;BR /&gt;text="new1";&lt;/P&gt;&lt;P&gt;text="my acount information for the year 2016"&lt;BR /&gt;run;&lt;BR /&gt;ods pdf text="^S={font=('Arial',13pt,bold) just=center}new1";&lt;BR /&gt;ods pdf text="^S={font=('Arial',13pt,bold) just=center}&lt;SPAN&gt;my acount information for the year 2016&lt;/SPAN&gt;";&lt;/P&gt;&lt;P&gt;ods pdf file="C:\users\abc\desktop\f_maps.pdf" notoc startpage=no;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=test nowd noheader style(report)={rules=none frame=void}&lt;BR /&gt;style(column)={font_weight=bold font_size=20pt just=c};&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods pdf startpage=now;&lt;BR /&gt;/* Insert a logo and blank lines (used to move the title text to the center of page) */&lt;BR /&gt;/*ods proclabel "five graphs on one page" ;*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;goptions border hsize=3.99 in vsize=4.2 in;&lt;/P&gt;&lt;P&gt;title1 height= 2 'abc1 ';&lt;BR /&gt;title2 height= 1 'abc2';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips map=maps.us;&lt;BR /&gt;goptions horigin=0 in vorigin=4 in;&lt;BR /&gt;id STATECODE;&lt;BR /&gt;choro stcnt / annotate=stlabel coutline=grayaa;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title1 height= 2 'abc3 ';&lt;BR /&gt;title2 height= 1 'abc4';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips_CDA map=mapsgfk.CANADA;&lt;BR /&gt;goptions horigin=4.25;&lt;BR /&gt;id ID1;&lt;BR /&gt;choro cda_cnt/annotate=stlabel1 coutline=grayaa;;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;/*ods pdf close;*/&lt;BR /&gt;/*title1;*/&lt;BR /&gt;/*title2;*/&lt;BR /&gt;/**/&lt;BR /&gt;/**/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goptions border hsize=3.99 in vsize=4.2 in;&lt;BR /&gt;title1 height= 2 'abc5 ';&lt;BR /&gt;title2 height= 1 'abc6';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips_latin map=mapsgfk.world;&lt;BR /&gt;goptions horigin=0 in vorigin=4 in;&lt;BR /&gt;id idname;&lt;BR /&gt;choro country_cnt/annotate=stlabel_lat coutline=grayaa;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title1 height= 2 'abc7 ';&lt;BR /&gt;title2 height= 1 'abc8';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc gmap data=map_eu map=mapsgfk.world;&lt;BR /&gt;goptions horigin=4.25;&lt;BR /&gt;id idname;&lt;BR /&gt;choro country_cnt/annotate=stlabel_eu coutline=grayaa;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;title1 height= 2 'abc9 ';&lt;BR /&gt;title2 height= 1'abc10';&lt;/P&gt;&lt;P&gt;proc gmap data=mapfips_asia map=mapsgfk.world;&lt;BR /&gt;goptions horigin=0 in vorigin=4 in;&lt;BR /&gt;id idname;&lt;BR /&gt;choro country_cnt/annotate=stlabel1 coutline=grayaa;;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;title1;&lt;BR /&gt;title2;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 14:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293153#M10328</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2016-08-22T14:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to draw multiple gmaps on one pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293158#M10329</link>
      <description>&lt;P&gt;You don't mention which map fails. I'm going to guess that it may be the CANADA map.&lt;/P&gt;
&lt;P&gt;Since it appears that you are using the exact same annotate set it may be that the coordinates are not appropriate for the map that fails.&lt;/P&gt;
&lt;P&gt;Does the Log show any warning message about values out of range?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 15:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293158#M10329</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-22T15:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to draw multiple gmaps on one pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293228#M10331</link>
      <description>&lt;P&gt;I agree with "ballardw". &amp;nbsp;The problem seems to be with CANADA. &amp;nbsp;For one thing, the data set is not sorted to use ID1 and you are using that for "ID". &amp;nbsp;Did you try to run the GMAP that uses CANADA without PDF? &amp;nbsp; Does GMAP produce a map? &amp;nbsp;Are you getting any errors?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, there is an SGF Paper that talks about how to use MAPSGFK maps. &amp;nbsp;And there are examples that go further than the paper too. &amp;nbsp;I think this will fix at least one of your problems.&lt;/P&gt;
&lt;P&gt;The paper is at: &amp;nbsp;&lt;A href="http://support.sas.com/resources/papers/proceedings16/" target="_self"&gt;http://support.sas.com/resources/papers/proceedings16/&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Look for a paper title:&amp;nbsp;The New SAS Map Data Sets&lt;/P&gt;
&lt;P&gt;Under that title are links to the Paper and the Examples.&lt;/P&gt;
&lt;P&gt;This particular problem is described in the paper. &amp;nbsp;The following code will fix CANADA.&lt;/P&gt;
&lt;P&gt;/* Sort the map data by ID1 */&lt;/P&gt;
&lt;P&gt;proc SORT data=mapsgfk.canada&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=smymap; by id1 id; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* remove the lowest level of the map data set */&lt;/P&gt;
&lt;P&gt;proc GREMOVE data=smymap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=mymap; by id1; id id; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* rename ID1 to ID */&lt;/P&gt;
&lt;P&gt;data mymap (drop=id1); set mymap;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id=id1; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc GMAP data=mymap map=mymap;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id id;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; choro id / nolegend;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 19:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293228#M10331</guid>
      <dc:creator>Darrell_sas</dc:creator>
      <dc:date>2016-08-22T19:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to draw multiple gmaps on one pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293374#M10336</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i tried to run these individual gmap procedures I did't get any errors.&lt;/P&gt;&lt;P&gt;Yes the issue is with Canada and Asia map&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 09:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293374#M10336</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2016-08-23T09:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to draw multiple gmaps on one pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293517#M10345</link>
      <description>&lt;P&gt;I made up some 'data' and 'annotate' data and it worked fine. &amp;nbsp;There were 5 maps.&lt;/P&gt;
&lt;P&gt;There were several corrections I made to your program:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You were missing a semicolon here: &amp;nbsp;text="my acount information for the year 2016"&lt;/P&gt;
&lt;P&gt;The following lines were missing 'inch': &amp;nbsp;goptions horigin=4.25; &amp;nbsp;(But that shouldn't matter)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you create your annotate data correctly? &amp;nbsp;For MAPS.US, the data is already projected radians so you cannot project your Annotate data. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Possibly&amp;nbsp;the problem is with your data which you don't provide. &amp;nbsp;I think you need to contact Tech Support and let them help you.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 18:13:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Trying-to-draw-multiple-gmaps-on-one-pdf/m-p/293517#M10345</guid>
      <dc:creator>Darrell_sas</dc:creator>
      <dc:date>2016-08-23T18:13:02Z</dc:date>
    </item>
  </channel>
</rss>

