<?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: Projection issue when using SAS Map dataset and imported shapefile in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124639#M34239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really an area where I can be of much help, but does the following SAS sample and SUGI paper provide any direction?:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/rnd/datavisualization/mapsonline/html/ginside_germany.html" title="http://support.sas.com/rnd/datavisualization/mapsonline/html/ginside_germany.html"&gt;http://support.sas.com/rnd/datavisualization/mapsonline/html/ginside_germany.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sascommunity.org/sugi/SUGI87/Sugi-12-89%20Chojnacky%20Tymcio.pdf" title="http://www.sascommunity.org/sugi/SUGI87/Sugi-12-89%20Chojnacky%20Tymcio.pdf"&gt;http://www.sascommunity.org/sugi/SUGI87/Sugi-12-89%20Chojnacky%20Tymcio.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2012 14:19:31 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-11-13T14:19:31Z</dc:date>
    <item>
      <title>Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124638#M34238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create the following map: &lt;/P&gt;&lt;P&gt;First layer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS map.germany via proc gmap.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Second layer:&amp;nbsp; imported shapefile (german lakes) - it can be displayed on top of the map by using the annotate poly &amp;amp; polycont function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is: the coordinates don't match. I've tried two ways to solve this: &lt;/P&gt;&lt;P&gt;1) The SAS map has projected (Albers) coordinates in meter. If I use gproject to project the imported shapefile in the same projection, I'll get the coordinates in radians, not in meter.&lt;/P&gt;&lt;P&gt;2) If I project the shapefile in ArcMap before importing it into SAS, I get different meter values. (SAS map: 3xxxxxx,6xxxxxx. Imported Shapefile: -1xxxxx, 2xxxxxx) Tried Albers, Lambert and Equal Conic - all with the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get these two datasets in the same coordinate system, so that they can be mapped together?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 14:09:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124638#M34238</guid>
      <dc:creator>iznally</dc:creator>
      <dc:date>2012-11-13T14:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124639#M34239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really an area where I can be of much help, but does the following SAS sample and SUGI paper provide any direction?:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/rnd/datavisualization/mapsonline/html/ginside_germany.html" title="http://support.sas.com/rnd/datavisualization/mapsonline/html/ginside_germany.html"&gt;http://support.sas.com/rnd/datavisualization/mapsonline/html/ginside_germany.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sascommunity.org/sugi/SUGI87/Sugi-12-89%20Chojnacky%20Tymcio.pdf" title="http://www.sascommunity.org/sugi/SUGI87/Sugi-12-89%20Chojnacky%20Tymcio.pdf"&gt;http://www.sascommunity.org/sugi/SUGI87/Sugi-12-89%20Chojnacky%20Tymcio.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 14:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124639#M34239</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-11-13T14:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124640#M34240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this will help but when I was using two different map sources it worked better to combine the data with the coordinates (latitude and longitude) before projection and then separate the parts out after.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 15:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124640#M34240</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-11-13T15:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124641#M34241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arthur, but unfortunately that's not what I need in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 16:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124641#M34241</guid>
      <dc:creator>iznally</dc:creator>
      <dc:date>2012-11-13T16:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124642#M34242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hhmm nice thought, but the problem is the SAS germany map is already projected - unfortunately SAS doesn't provide a map dataset for germany containing lat/long values as far as I know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 16:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124642#M34242</guid>
      <dc:creator>iznally</dc:creator>
      <dc:date>2012-11-13T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124643#M34243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first link I included contained the following comment in the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* THIS PROGRAM USES MAPS.GERMANY SAS RELEASE 9.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt; * Given a dataset containing city names and latitude longitude *&lt;/P&gt;&lt;P&gt; * it can easily be annotated onto a map whose coordinates are&amp;nbsp; *&lt;/P&gt;&lt;P&gt; * also&amp;nbsp; in latitude and longitude.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt; * However, if the desire is to include, in the dataset, the&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt; * region or province within which a city falls, one can&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt; * accomplish this with GINSIDE...as this sample shows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 16:21:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124643#M34243</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-11-13T16:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124644#M34244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. When I look at the MAPS library supplied in my version of SAS 9.2 the Germany data set has LAT and LONG with the unit in radians. X and Y are the Lambert projected longitude and latitude from the variable labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe time to visit the SAS tech support downloads and see if other versions of the files are available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The online example program GPJANNOT for GPROJECT shows conversion from degrees to radians. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 16:23:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124644#M34244</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-11-13T16:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Projection issue when using SAS Map dataset and imported shapefile</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124645#M34245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right! I seemed to have lost these lat/long values somewhere on the way... Ok, now I can try the combined projection - thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 16:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Projection-issue-when-using-SAS-Map-dataset-and-imported/m-p/124645#M34245</guid>
      <dc:creator>iznally</dc:creator>
      <dc:date>2012-11-13T16:30:21Z</dc:date>
    </item>
  </channel>
</rss>

