<?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: Importing Shapefile with strange coordinates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832636#M329122</link>
    <description>Thanks..&lt;BR /&gt;&lt;BR /&gt;I tried using the link you provided in your blog post to prj2epsg and it is&lt;BR /&gt;no longer up.  Do you know of another way to get the projection?&lt;BR /&gt;</description>
    <pubDate>Sat, 10 Sep 2022 13:38:30 GMT</pubDate>
    <dc:creator>RandoDando</dc:creator>
    <dc:date>2022-09-10T13:38:30Z</dc:date>
    <item>
      <title>Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832509#M329053</link>
      <description>&lt;P&gt;I have a shapefile I've downloaded online. I ran the PROC MAPIMPORT statement, no id variable because there isn't one.&amp;nbsp; The dataset has a X Y variable but they are NOT in degrees.&amp;nbsp; Values are in the hundreds of thousands, so I have no idea what projection they are using.&amp;nbsp; Any idea on what options I should enter in the GPROJECT statement to get this converted to degrees?&amp;nbsp; Here is a snapshot of what the resulting dataset looks like after running PROC MAPIMPORT:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data_shapefile.jpg" style="width: 959px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75092iA0EE25241488D64E/image-size/large?v=v2&amp;amp;px=999" role="button" title="data_shapefile.jpg" alt="data_shapefile.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 14:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832509#M329053</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2022-09-09T14:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832512#M329054</link>
      <description>&lt;P&gt;I might guess that SEGMENT could be used as an ID variable though it doesn't have much meaning as shown.&lt;/P&gt;
&lt;P&gt;If you look at your data the first record for Segment=1 has the same coordinates as the last (Obs=5??) which would close a map polygon. Segment=2 does the same. Unless the Segment variable appears with the same values and different X,Y coordinates elsewhere in the data it looks like the Id variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maps do not always have anything resembling latitude or longitude degree or other angular measurements.&lt;/P&gt;
&lt;P&gt;For instance you might have a shape file for a single building and in the grand scheme of things the X,Y coordinates would be all that is needed as lat/long would not add much for many purposes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did that source have any of the associated information files like DBF or SHX that would provide additional information?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 14:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832512#M329054</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-09-09T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832513#M329055</link>
      <description>Yes, this was in a zip file containing a shp, shx, prj, and dbf file.  All files were unzipped to same folder before importing the shp file.</description>
      <pubDate>Fri, 09 Sep 2022 14:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832513#M329055</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2022-09-09T14:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832617#M329111</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 11:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832617#M329111</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-09-10T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832630#M329118</link>
      <description>&lt;P&gt;You might be able to look in the .prj file (of the shapefile) and determine what projection was used, and then that might tell you what from= to use with proc gproject so that you can get regular unprojected lat/long values. See an example in my old blog:&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sastraining/2017/10/17/rdu-airport-vs-surrounding-parks-and-nature/" target="_blank"&gt;https://blogs.sas.com/content/sastraining/2017/10/17/rdu-airport-vs-surrounding-parks-and-nature/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or ... it almost looks like those x/y values are long/lat values that have been multiplied by 10,000.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 13:12:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832630#M329118</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2022-09-10T13:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832636#M329122</link>
      <description>Thanks..&lt;BR /&gt;&lt;BR /&gt;I tried using the link you provided in your blog post to prj2epsg and it is&lt;BR /&gt;no longer up.  Do you know of another way to get the projection?&lt;BR /&gt;</description>
      <pubDate>Sat, 10 Sep 2022 13:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832636#M329122</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2022-09-10T13:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832750#M329173</link>
      <description>&lt;P&gt;Looks like the people hosting that page don't host it anymore (see some discussion here:&amp;nbsp;&lt;A href="https://gis.stackexchange.com/questions/372381/is-there-an-alternative-to-prj2epsg-org" target="_blank"&gt;https://gis.stackexchange.com/questions/372381/is-there-an-alternative-to-prj2epsg-org&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Google search turned up this page. I haven't tried it, and of course "your mileage may vary" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://prj2epsg.azimap.com/search" target="_blank"&gt;https://prj2epsg.azimap.com/search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 13:20:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832750#M329173</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2022-09-11T13:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832798#M329203</link>
      <description>Thanks.  I will try that tomorrow and let you know.&lt;BR /&gt;&lt;BR /&gt;In the meantime, is EPSG:4326  the projection to enter in the To= in order&lt;BR /&gt;for this to overlay with USCounties?&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Sep 2022 00:20:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/832798#M329203</guid>
      <dc:creator>RandoDando</dc:creator>
      <dc:date>2022-09-12T00:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Shapefile with strange coordinates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/833158#M329342</link>
      <description>&lt;P&gt;That's the coordinate system that most of the SAS maps (and most other maps you'll be working with) use.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 14:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Shapefile-with-strange-coordinates/m-p/833158#M329342</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2022-09-13T14:38:10Z</dc:date>
    </item>
  </channel>
</rss>

