<?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: How to plot a set of unique coordinates on a map in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919011#M24418</link>
    <description>&lt;P&gt;Hi again, GraphGuy:&lt;/P&gt;&lt;P&gt;Sorry to bother you again, but I can't figure out how to have the dots on the map reflect presence/absence information (0=absence, 1=presence).&lt;/P&gt;&lt;P&gt;All my attempts have failed thus far.&lt;/P&gt;&lt;P&gt;The data and code are below.&lt;/P&gt;&lt;P&gt;j&lt;/P&gt;&lt;P&gt;--------------------&lt;/P&gt;&lt;P&gt;data coordinates;&lt;BR /&gt;input lat long present;&lt;BR /&gt;datalines;&lt;BR /&gt;28.9787 -95.1672 0&lt;BR /&gt;29.1468 -94.8645 0&lt;BR /&gt;29.2313 -89.8375 1&lt;BR /&gt;29.4695 -94.0852 0&lt;BR /&gt;29.5513 -92.899 1&lt;BR /&gt;29.5282 -93.9293 1&lt;BR /&gt;29.016 -95.098 1&lt;BR /&gt;29.8865 -88.1793 1&lt;BR /&gt;29.5088 -93.9617 0&lt;BR /&gt;29.4177 -92.587 0&lt;BR /&gt;29.1007 -94.02 1&lt;BR /&gt;29.5347 -93.5135 0&lt;BR /&gt;25.2593 -81.9585 1&lt;BR /&gt;28.9765 -91.7018 1&lt;BR /&gt;28.1155 -93.6067 1&lt;BR /&gt;28.3387 -94.4748 0&lt;BR /&gt;28.9765 -91.7018 1&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data us48;&lt;BR /&gt;set mapsgfk.us_states;&lt;BR /&gt;if state not in (2 15 72);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc gproject data=us48 out=gulf&lt;BR /&gt;latlon degrees eastlong&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5&lt;BR /&gt;parmout=projparm;&lt;BR /&gt;where density&amp;lt;5;&lt;BR /&gt;id state;&lt;BR /&gt;run;&lt;BR /&gt;/* project the coordinates using the same projection parameters as were used to project the map */&lt;BR /&gt;proc gproject data=coordinates out=coordinates&lt;BR /&gt;latlon degrees eastlong&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5&lt;BR /&gt;parmin=projparm parmentry=gulf;&lt;BR /&gt;id;&lt;BR /&gt;run;&lt;BR /&gt;/* convert the projected coordinates into annotate dataset */&lt;BR /&gt;data coordinates; set coordinates;&lt;BR /&gt;xsys='2'; ysys='2'; hsys='3'; when='a';&lt;BR /&gt;function='pie'; rotate=360; size=1.0; color='red';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;pattern value=mempty color=blue;&lt;BR /&gt;proc gmap map=gulf data=gulf all anno=coordinates;&lt;BR /&gt;id state;&lt;BR /&gt;choro state / statistic=first nolegend levels=1;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 21:45:03 GMT</pubDate>
    <dc:creator>jserafy</dc:creator>
    <dc:date>2024-03-05T21:45:03Z</dc:date>
    <item>
      <title>How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914779#M24304</link>
      <description>&lt;P&gt;I want to plot unique coordinates on the example map shown at: &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grmapref/n1reiydhvbvs7rn1lxrlps7gwt3l.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grmapref/n1reiydhvbvs7rn1lxrlps7gwt3l.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would appreciate code to add to that below that places a point on the map generated by the code below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data us48;&lt;BR /&gt;set mapsgfk.us_states;&lt;BR /&gt;if state not in (2 15 72);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc gproject data=us48&lt;BR /&gt;latlon&lt;BR /&gt;degrees eastlong&lt;BR /&gt;out=gulf&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-81&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=33;&lt;BR /&gt;where density&amp;lt;5;&lt;BR /&gt;id state;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;title "Northern Gulf Coast";&lt;BR /&gt;pattern value=mempty color=blue;&lt;BR /&gt;proc gmap map=gulf data=gulf all;&lt;BR /&gt;id state;&lt;BR /&gt;choro state / statistic=first nolegend levels=1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 22:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914779#M24304</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-02-06T22:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914782#M24305</link>
      <description>&lt;P&gt;In GMAP you use annotate method, which is annoying IMO.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grmapref/p0nzqxp7w0l5vsn152fk3nl66qvc.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grmapref/p0nzqxp7w0l5vsn152fk3nl66qvc.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend SGMAP instead, set the bubble size to a fixed value in the data set to have just points.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grmapref/p0posjqhzkf0xkn0zz0i8b1iq4fz.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grmapref/p0posjqhzkf0xkn0zz0i8b1iq4fz.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find more examples at lexjansen.com and &lt;A href="https://robslink.com/SAS/Home.htm" target="_blank"&gt;robslink&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 23:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914782#M24305</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-02-06T23:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914802#M24306</link>
      <description>&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2021/08/13/cary-nc-data-car-crashes/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2021/08/13/cary-nc-data-car-crashes/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2021/08/17/cary-nc-data-fire-incidents/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2021/08/17/cary-nc-data-fire-incidents/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2021/08/31/cary-nc-data-parks-and-trails/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2021/08/31/cary-nc-data-parks-and-trails/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2021/10/07/lets-dive-into-some-data-scuba-site-data/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2021/10/07/lets-dive-into-some-data-scuba-site-data/&lt;/A&gt;</description>
      <pubDate>Wed, 07 Feb 2024 02:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914802#M24306</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-07T02:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914869#M24308</link>
      <description>Thanks Reeza:&lt;BR /&gt;Unfortunately, I'm just not bright enough to modify the code shown at the&lt;BR /&gt;url's you have kindly provided for my purposes.&lt;BR /&gt;Could you possibly help me by further modifying the code below to place the&lt;BR /&gt;(water) locations on the map that emerges from the code below?&lt;BR /&gt;Sorry, but I just can't seem to make any progress.&lt;BR /&gt;j&lt;BR /&gt;*--------------------*&lt;BR /&gt;*Locations*&lt;BR /&gt;&lt;BR /&gt;28.9787 -95.1672&lt;BR /&gt;29.1468 -94.8645&lt;BR /&gt;29.2313 -89.8375&lt;BR /&gt;29.4695 -94.0852&lt;BR /&gt;29.5513 -92.899&lt;BR /&gt;29.5282 -93.9293&lt;BR /&gt;29.016 -95.098&lt;BR /&gt;29.8865 -88.1793&lt;BR /&gt;29.5088 -93.9617&lt;BR /&gt;29.4177 -92.587&lt;BR /&gt;29.1007 -94.02&lt;BR /&gt;29.5347 -93.5135&lt;BR /&gt;25.2593 -81.9585&lt;BR /&gt;28.9765 -91.7018&lt;BR /&gt;28.1155 -93.6067&lt;BR /&gt;28.3387 -94.4748&lt;BR /&gt;28.9765 -91.7018&lt;BR /&gt;*SAS Code*&lt;BR /&gt;&lt;BR /&gt;goptions reset=all border device=png;&lt;BR /&gt;&lt;BR /&gt;data us48;&lt;BR /&gt;set mapsgfk.us_states;&lt;BR /&gt;if state not in (2 15 72);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc gproject data=us48&lt;BR /&gt;latlon&lt;BR /&gt;degrees eastlong&lt;BR /&gt;out=gulf&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5;&lt;BR /&gt;where density&amp;lt;5;&lt;BR /&gt;id state;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;pattern value=mempty color=blue;&lt;BR /&gt;proc gmap map=gulf data=gulf all;&lt;BR /&gt;id state;&lt;BR /&gt;choro state / statistic=first nolegend levels=1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;goptions reset=all;&lt;BR /&gt;goptions reset=all border device=png;&lt;BR /&gt;&lt;BR /&gt;data us48;&lt;BR /&gt;set mapsgfk.us_states;&lt;BR /&gt;if state not in (2 15 72);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc gproject data=us48&lt;BR /&gt;latlon&lt;BR /&gt;degrees eastlong&lt;BR /&gt;out=gulf&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5;&lt;BR /&gt;where density&amp;lt;5;&lt;BR /&gt;id state;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;pattern value=mempty color=blue;&lt;BR /&gt;proc gmap map=gulf data=gulf all;&lt;BR /&gt;id state;&lt;BR /&gt;choro state / statistic=first nolegend levels=1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;goptions reset=all;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:02:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914869#M24308</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-02-07T15:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914870#M24309</link>
      <description>Thanks Ksharp:&lt;BR /&gt;Unfortunately, I'm just not bright enough to modify the code shown at the&lt;BR /&gt;url's you have kindly provided for my purposes.&lt;BR /&gt;Could you possibly help me by further modifying the code below to place the&lt;BR /&gt;(water) locations on the map that emerges from the code below?&lt;BR /&gt;Sorry, but I just can't seem to make any progress.&lt;BR /&gt;j&lt;BR /&gt;*--------------------*&lt;BR /&gt;*Locations*&lt;BR /&gt;&lt;BR /&gt;28.9787 -95.1672&lt;BR /&gt;29.1468 -94.8645&lt;BR /&gt;29.2313 -89.8375&lt;BR /&gt;29.4695 -94.0852&lt;BR /&gt;29.5513 -92.899&lt;BR /&gt;29.5282 -93.9293&lt;BR /&gt;29.016 -95.098&lt;BR /&gt;29.8865 -88.1793&lt;BR /&gt;29.5088 -93.9617&lt;BR /&gt;29.4177 -92.587&lt;BR /&gt;29.1007 -94.02&lt;BR /&gt;29.5347 -93.5135&lt;BR /&gt;25.2593 -81.9585&lt;BR /&gt;28.9765 -91.7018&lt;BR /&gt;28.1155 -93.6067&lt;BR /&gt;28.3387 -94.4748&lt;BR /&gt;28.9765 -91.7018&lt;BR /&gt;&lt;BR /&gt;*SAS Code*&lt;BR /&gt;&lt;BR /&gt;goptions reset=all border device=png;&lt;BR /&gt;&lt;BR /&gt;data us48;&lt;BR /&gt;set mapsgfk.us_states;&lt;BR /&gt;if state not in (2 15 72);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc gproject data=us48&lt;BR /&gt;latlon&lt;BR /&gt;degrees eastlong&lt;BR /&gt;out=gulf&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5;&lt;BR /&gt;where density&amp;lt;5;&lt;BR /&gt;id state;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;pattern value=mempty color=blue;&lt;BR /&gt;proc gmap map=gulf data=gulf all;&lt;BR /&gt;id state;&lt;BR /&gt;choro state / statistic=first nolegend levels=1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;goptions reset=all;&lt;BR /&gt;goptions reset=all border device=png;&lt;BR /&gt;&lt;BR /&gt;data us48;&lt;BR /&gt;set mapsgfk.us_states;&lt;BR /&gt;if state not in (2 15 72);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc gproject data=us48&lt;BR /&gt;latlon&lt;BR /&gt;degrees eastlong&lt;BR /&gt;out=gulf&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5;&lt;BR /&gt;where density&amp;lt;5;&lt;BR /&gt;id state;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;pattern value=mempty color=blue;&lt;BR /&gt;proc gmap map=gulf data=gulf all;&lt;BR /&gt;id state;&lt;BR /&gt;choro state / statistic=first nolegend levels=1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;goptions reset=all;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/914870#M24309</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-02-07T15:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915190#M24316</link>
      <description>&lt;P&gt;Sorry. I am not familiar with SAS/Graph.&lt;/P&gt;
&lt;P&gt;Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;(a.k.a&amp;nbsp; Robert.Allision) could give you a hand.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 02:50:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915190#M24316</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-09T02:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915567#M24321</link>
      <description>&lt;P&gt;Thanks for the heads-up&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Here's a chapter I wrote on this topic, that might help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://robslink.com/SAS/book2/Chapter_07_Annotating_on_Maps.pdf" target="_blank"&gt;https://robslink.com/SAS/book2/Chapter_07_Annotating_on_Maps.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 14:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915567#M24321</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2024-02-12T14:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915575#M24322</link>
      <description>&lt;P&gt;This code should get you started ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data coordinates;
input lat long;
datalines;
28.9787 -95.1672
29.1468 -94.8645
29.2313 -89.8375
29.4695 -94.0852
29.5513 -92.899
29.5282 -93.9293
29.016 -95.098
29.8865 -88.1793
29.5088 -93.9617
29.4177 -92.587
29.1007 -94.02
29.5347 -93.5135
25.2593 -81.9585
28.9765 -91.7018
28.1155 -93.6067
28.3387 -94.4748
28.9765 -91.7018
;
run;



data us48;
set mapsgfk.us_states;
if state not in (2 15 72);
run;

proc gproject data=us48 out=gulf
latlon degrees eastlong
longmin=-98
longmax=-68
latmin=25
latmax=36.5
parmout=projparm;
where density&amp;lt;5;
id state;
run;
&lt;BR /&gt;/* project the coordinates using the same projection parameters as were used to project the map */
proc gproject data=coordinates out=coordinates
latlon degrees eastlong
longmin=-98
longmax=-68
latmin=25
latmax=36.5
parmin=projparm;
id;
run;
&lt;BR /&gt;/* convert the projected coordinates into annotate dataset */
data coordinates; set coordinates;
xsys='2'; ysys='2'; hsys='3'; when='a';
function='pie'; rotate=360; size=1.0; color='red';
run;

title "US Southern Atlantic and Gulf of Mexico";
pattern value=mempty color=blue;
proc gmap map=gulf data=gulf all anno=coordinates;
id state;
choro state / statistic=first nolegend levels=1;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gulf_map.png" style="width: 800px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93568iA8E377E15BF45341/image-size/large?v=v2&amp;amp;px=999" role="button" title="gulf_map.png" alt="gulf_map.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 14:48:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915575#M24322</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2024-02-12T14:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915594#M24324</link>
      <description>&lt;P&gt;Thanks you so much, Graph Guy. Really helps novices like me figure this stuff out.&lt;/P&gt;&lt;P&gt;The lat-lon coordinates should be in the water versus on the land.&lt;/P&gt;&lt;P&gt;Is this a projection problem?&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;j&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 15:38:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915594#M24324</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-02-12T15:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915644#M24325</link>
      <description>Hi GraphGuy:&lt;BR /&gt;I get the three warnings below (in blue).&lt;BR /&gt;j&lt;BR /&gt;---------------------&lt;BR /&gt;NOTE: There were 1097 observations read from the data set WORK.GULF.&lt;BR /&gt;WHERE resolution&amp;lt;=4;&lt;BR /&gt;NOTE: There were 17 observations read from the data set WORK.COORDINATES.&lt;BR /&gt;NOTE: PROCEDURE GMAP used (Total process time):&lt;BR /&gt;real time 57:55.91&lt;BR /&gt;cpu time 2.96 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;320 data coordinates;&lt;BR /&gt;321 input lat long;&lt;BR /&gt;322 datalines;&lt;BR /&gt;&lt;BR /&gt;NOTE: The data set WORK.COORDINATES has 17 observations and 2 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;340 ;&lt;BR /&gt;341 run;&lt;BR /&gt;342&lt;BR /&gt;343&lt;BR /&gt;344&lt;BR /&gt;345 data us48;&lt;BR /&gt;346 set mapsgfk.us_states;&lt;BR /&gt;347 if state not in (2 15 72);&lt;BR /&gt;348 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 33570 observations read from the data set&lt;BR /&gt;MAPSGFK.US_STATES.&lt;BR /&gt;NOTE: The data set WORK.US48 has 17692 observations and 13 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;349&lt;BR /&gt;350 proc gproject data=us48 out=gulf&lt;BR /&gt;351 latlon degrees eastlong&lt;BR /&gt;352 longmin=-98&lt;BR /&gt;353 longmax=-68&lt;BR /&gt;354 latmin=25&lt;BR /&gt;355 latmax=36.5&lt;BR /&gt;356 parmout=projparm;&lt;BR /&gt;357 where density&amp;lt;5;&lt;BR /&gt;358 id state;&lt;BR /&gt;359 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: PARALLEL1 = 27.875.&lt;BR /&gt;NOTE: PARALLEL2 = 33.625.&lt;BR /&gt;NOTE: MERIDIAN = -83.&lt;BR /&gt;NOTE: The data set WORK.PROJPARM has 1 observations and 9 variables.&lt;BR /&gt;NOTE: The data set WORK.GULF has 1976 observations and 13 variables.&lt;BR /&gt;NOTE: PROCEDURE GPROJECT used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;360 /* project the coordinates using the same projection parameters as&lt;BR /&gt;were used to project the map&lt;BR /&gt;360! */&lt;BR /&gt;361 proc gproject data=coordinates out=coordinates&lt;BR /&gt;362 latlon degrees eastlong&lt;BR /&gt;363 longmin=-98&lt;BR /&gt;364 longmax=-68&lt;BR /&gt;365 latmin=25&lt;BR /&gt;366 latmax=36.5&lt;BR /&gt;367 parmin=projparm;&lt;BR /&gt;368 id;&lt;BR /&gt;369 run;&lt;BR /&gt;&lt;BR /&gt;WARNING: No entry named COORDINATES found in parameter data set&lt;BR /&gt;WORK.PROJPARM.&lt;BR /&gt;WARNING: The map data are completely contained within the specified&lt;BR /&gt;clipping region.&lt;BR /&gt;WARNING: Data NOT clipped due to reasons noted above.&lt;BR /&gt;NOTE: PARALLEL1 = 26.4161.&lt;BR /&gt;NOTE: PARALLEL2 = 28.7297.&lt;BR /&gt;NOTE: MERIDIAN = -88.56285.&lt;BR /&gt;NOTE: The data set WORK.COORDINATES has 17 observations and 4 variables.&lt;BR /&gt;NOTE: PROCEDURE GPROJECT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;370 /* convert the projected coordinates into annotate dataset */&lt;BR /&gt;371 data coordinates; set coordinates;&lt;BR /&gt;372 xsys='2'; ysys='2'; hsys='3'; when='a';&lt;BR /&gt;373 function='pie'; rotate=360; size=1.0; color='blue';&lt;BR /&gt;374 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 17 observations read from the data set WORK.COORDINATES.&lt;BR /&gt;NOTE: The data set WORK.COORDINATES has 17 observations and 12 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;375&lt;BR /&gt;376 title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;377 pattern value=mempty color=black;&lt;BR /&gt;378 proc gmap map=gulf data=gulf all anno=coordinates;&lt;BR /&gt;379 id state;&lt;BR /&gt;380 choro state / statistic=first nolegend levels=1; run;&lt;BR /&gt;&lt;BR /&gt;NOTE: 50456 bytes written to C:\Users\JOE~1.SER\AppData\Local\Temp\1\SAS&lt;BR /&gt;Temporary&lt;BR /&gt;Files\_TD17660_SECML4380988JSE_\gmap7.png.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Feb 2024 18:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915644#M24325</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-02-12T18:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915660#M24326</link>
      <description>&lt;P&gt;Thanks so much! Sorry to be a pest, but the points on the map should be on water versus on land.&lt;/P&gt;&lt;P&gt;Perhaps this problem is related to the warnings (&lt;STRONG&gt;bolded)&lt;/STRONG&gt;&amp;nbsp;in the sas log below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;NOTE: There were 1097 observations read from the data set WORK.GULF.&lt;BR /&gt;WHERE resolution&amp;lt;=4;&lt;BR /&gt;NOTE: There were 17 observations read from the data set WORK.COORDINATES.&lt;BR /&gt;NOTE: PROCEDURE GMAP used (Total process time):&lt;BR /&gt;real time 57:55.91&lt;BR /&gt;cpu time 2.96 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;320 data coordinates;&lt;BR /&gt;321 input lat long;&lt;BR /&gt;322 datalines;&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.COORDINATES has 17 observations and 2 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;340 ;&lt;BR /&gt;341 run;&lt;BR /&gt;342&lt;BR /&gt;343&lt;BR /&gt;344&lt;BR /&gt;345 data us48;&lt;BR /&gt;346 set mapsgfk.us_states;&lt;BR /&gt;347 if state not in (2 15 72);&lt;BR /&gt;348 run;&lt;/P&gt;&lt;P&gt;NOTE: There were 33570 observations read from the data set MAPSGFK.US_STATES.&lt;BR /&gt;NOTE: The data set WORK.US48 has 17692 observations and 13 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;349&lt;BR /&gt;350 proc gproject data=us48 out=gulf&lt;BR /&gt;351 latlon degrees eastlong&lt;BR /&gt;352 longmin=-98&lt;BR /&gt;353 longmax=-68&lt;BR /&gt;354 latmin=25&lt;BR /&gt;355 latmax=36.5&lt;BR /&gt;356 parmout=projparm;&lt;BR /&gt;357 where density&amp;lt;5;&lt;BR /&gt;358 id state;&lt;BR /&gt;359 run;&lt;/P&gt;&lt;P&gt;NOTE: PARALLEL1 = 27.875.&lt;BR /&gt;NOTE: PARALLEL2 = 33.625.&lt;BR /&gt;NOTE: MERIDIAN = -83.&lt;BR /&gt;NOTE: The data set WORK.PROJPARM has 1 observations and 9 variables.&lt;BR /&gt;NOTE: The data set WORK.GULF has 1976 observations and 13 variables.&lt;BR /&gt;NOTE: PROCEDURE GPROJECT used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;360 /* project the coordinates using the same projection parameters as were used to project the map&lt;BR /&gt;360! */&lt;BR /&gt;361 proc gproject data=coordinates out=coordinates&lt;BR /&gt;362 latlon degrees eastlong&lt;BR /&gt;363 longmin=-98&lt;BR /&gt;364 longmax=-68&lt;BR /&gt;365 latmin=25&lt;BR /&gt;366 latmax=36.5&lt;BR /&gt;367 parmin=projparm;&lt;BR /&gt;368 id;&lt;BR /&gt;369 run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: No entry named COORDINATES found in parameter data set WORK.PROJPARM.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WARNING: The map data are completely contained within the specified clipping region.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WARNING: Data NOT clipped due to reasons noted above.&lt;/STRONG&gt;&lt;BR /&gt;NOTE: PARALLEL1 = 26.4161.&lt;BR /&gt;NOTE: PARALLEL2 = 28.7297.&lt;BR /&gt;NOTE: MERIDIAN = -88.56285.&lt;BR /&gt;NOTE: The data set WORK.COORDINATES has 17 observations and 4 variables.&lt;BR /&gt;NOTE: PROCEDURE GPROJECT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;370 /* convert the projected coordinates into annotate dataset */&lt;BR /&gt;371 data coordinates; set coordinates;&lt;BR /&gt;372 xsys='2'; ysys='2'; hsys='3'; when='a';&lt;BR /&gt;373 function='pie'; rotate=360; size=1.0; color='blue';&lt;BR /&gt;374 run;&lt;/P&gt;&lt;P&gt;NOTE: There were 17 observations read from the data set WORK.COORDINATES.&lt;BR /&gt;NOTE: The data set WORK.COORDINATES has 17 observations and 12 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;375&lt;BR /&gt;376 title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;377 pattern value=mempty color=black;&lt;BR /&gt;378 proc gmap map=gulf data=gulf all anno=coordinates;&lt;BR /&gt;379 id state;&lt;BR /&gt;380 choro state / statistic=first nolegend levels=1; run;&lt;/P&gt;&lt;P&gt;NOTE: 50456 bytes written to C:\Users\JOE~1.SER\AppData\Local\Temp\1\SAS Temporary&lt;BR /&gt;Files\_TD17660_SECML4380988JSE_\gmap7.png.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 19:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915660#M24326</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-02-12T19:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915755#M24327</link>
      <description>&lt;P&gt;Ahh - I forgot one thing in the gproject. I had specified the parmin= dataset, but I forgot to tell gproject which entry in that dataset to use.&amp;nbsp; Here's the new/fixed code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data coordinates;
input lat long;
datalines;
28.9787 -95.1672
29.1468 -94.8645
29.2313 -89.8375
29.4695 -94.0852
29.5513 -92.899
29.5282 -93.9293
29.016 -95.098
29.8865 -88.1793
29.5088 -93.9617
29.4177 -92.587
29.1007 -94.02
29.5347 -93.5135
25.2593 -81.9585
28.9765 -91.7018
28.1155 -93.6067
28.3387 -94.4748
28.9765 -91.7018
;
run;



data us48;
set mapsgfk.us_states;
if state not in (2 15 72);
run;

proc gproject data=us48 out=gulf
latlon degrees eastlong
longmin=-98
longmax=-68
latmin=25
latmax=36.5
parmout=projparm;
where density&amp;lt;5;
id state;
run;
/* project the coordinates using the same projection parameters as were used to project the map */
proc gproject data=coordinates out=coordinates
latlon degrees eastlong
longmin=-98
longmax=-68
latmin=25
latmax=36.5
parmin=projparm parmentry=gulf;
id;
run;
/* convert the projected coordinates into annotate dataset */
data coordinates; set coordinates;
xsys='2'; ysys='2'; hsys='3'; when='a';
function='pie'; rotate=360; size=1.0; color='red';
run;

title "US Southern Atlantic and Gulf of Mexico";
pattern value=mempty color=blue;
proc gmap map=gulf data=gulf all anno=coordinates;
id state;
choro state / statistic=first nolegend levels=1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gulf_map.png" style="width: 800px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93608iACAF073F21F0AD76/image-size/large?v=v2&amp;amp;px=999" role="button" title="gulf_map.png" alt="gulf_map.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 03:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915755#M24327</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2024-02-13T03:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915851#M24328</link>
      <description>&lt;P&gt;Fantastic! Your help is deeply appreciated. Thanks so much. Now that I have working code , I can try to understand it!&lt;/P&gt;&lt;P&gt;j&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 15:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/915851#M24328</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-02-13T15:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/916627#M24378</link>
      <description>&lt;P&gt;I have a couple of similar examples on this page, that might interest you. (they're on the last row of thumbnails - bottom/left):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://robslink.com/SAS/democd_mpg/aaaindex.htm" target="_blank"&gt;https://robslink.com/SAS/democd_mpg/aaaindex.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2024 15:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/916627#M24378</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2024-02-17T15:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919011#M24418</link>
      <description>&lt;P&gt;Hi again, GraphGuy:&lt;/P&gt;&lt;P&gt;Sorry to bother you again, but I can't figure out how to have the dots on the map reflect presence/absence information (0=absence, 1=presence).&lt;/P&gt;&lt;P&gt;All my attempts have failed thus far.&lt;/P&gt;&lt;P&gt;The data and code are below.&lt;/P&gt;&lt;P&gt;j&lt;/P&gt;&lt;P&gt;--------------------&lt;/P&gt;&lt;P&gt;data coordinates;&lt;BR /&gt;input lat long present;&lt;BR /&gt;datalines;&lt;BR /&gt;28.9787 -95.1672 0&lt;BR /&gt;29.1468 -94.8645 0&lt;BR /&gt;29.2313 -89.8375 1&lt;BR /&gt;29.4695 -94.0852 0&lt;BR /&gt;29.5513 -92.899 1&lt;BR /&gt;29.5282 -93.9293 1&lt;BR /&gt;29.016 -95.098 1&lt;BR /&gt;29.8865 -88.1793 1&lt;BR /&gt;29.5088 -93.9617 0&lt;BR /&gt;29.4177 -92.587 0&lt;BR /&gt;29.1007 -94.02 1&lt;BR /&gt;29.5347 -93.5135 0&lt;BR /&gt;25.2593 -81.9585 1&lt;BR /&gt;28.9765 -91.7018 1&lt;BR /&gt;28.1155 -93.6067 1&lt;BR /&gt;28.3387 -94.4748 0&lt;BR /&gt;28.9765 -91.7018 1&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data us48;&lt;BR /&gt;set mapsgfk.us_states;&lt;BR /&gt;if state not in (2 15 72);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc gproject data=us48 out=gulf&lt;BR /&gt;latlon degrees eastlong&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5&lt;BR /&gt;parmout=projparm;&lt;BR /&gt;where density&amp;lt;5;&lt;BR /&gt;id state;&lt;BR /&gt;run;&lt;BR /&gt;/* project the coordinates using the same projection parameters as were used to project the map */&lt;BR /&gt;proc gproject data=coordinates out=coordinates&lt;BR /&gt;latlon degrees eastlong&lt;BR /&gt;longmin=-98&lt;BR /&gt;longmax=-68&lt;BR /&gt;latmin=25&lt;BR /&gt;latmax=36.5&lt;BR /&gt;parmin=projparm parmentry=gulf;&lt;BR /&gt;id;&lt;BR /&gt;run;&lt;BR /&gt;/* convert the projected coordinates into annotate dataset */&lt;BR /&gt;data coordinates; set coordinates;&lt;BR /&gt;xsys='2'; ysys='2'; hsys='3'; when='a';&lt;BR /&gt;function='pie'; rotate=360; size=1.0; color='red';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;title "US Southern Atlantic and Gulf of Mexico";&lt;BR /&gt;pattern value=mempty color=blue;&lt;BR /&gt;proc gmap map=gulf data=gulf all anno=coordinates;&lt;BR /&gt;id state;&lt;BR /&gt;choro state / statistic=first nolegend levels=1;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 21:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919011#M24418</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-03-05T21:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919015#M24419</link>
      <description>&lt;P&gt;Basic approach is to use If/Then statements in a data step to set a desired color /symbol based on the value of such a variable.&lt;/P&gt;
&lt;P&gt;Then use&amp;nbsp; Legend statements to provide description text to match the color /symbol you used.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 22:20:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919015#M24419</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-05T22:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919140#M24420</link>
      <description>&lt;P&gt;You could use the value of the 'present' variable to control the color of the dots, such as ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;data coordinates; set coordinates;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;length color $12;&lt;BR /&gt;&lt;SPAN&gt;xsys='2'; ysys='2'; hsys='3'; when='a';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;function='pie'; rotate=360; size=1.0; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;if present=0 then color='red';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;else if present=1 then color='green';&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 15:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919140#M24420</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2024-03-06T15:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a set of unique coordinates on a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919367#M24431</link>
      <description>&lt;P&gt;Thanks again. Really apreciate the help!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 21:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-a-set-of-unique-coordinates-on-a-map/m-p/919367#M24431</guid>
      <dc:creator>jserafy</dc:creator>
      <dc:date>2024-03-07T21:14:35Z</dc:date>
    </item>
  </channel>
</rss>

