<?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: PROC GEOCODE with downloaded street lookup data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981887#M84089</link>
    <description>&lt;P&gt;Thank you very much! Problem solved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log file didn't officially give me any error, but I looked again and there was something wrong. Please see attached log_ImportCSVfiles (1~3). The observation number of usp file is 288425236.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I started from scratch and re-downloaded everything (attached log_ImportCSVfiles_new and contents_usp_new). Now the observation number is&amp;nbsp;323712820.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the coordinates are correct now!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jan 2026 16:11:25 GMT</pubDate>
    <dc:creator>nianhui</dc:creator>
    <dc:date>2026-01-13T16:11:25Z</dc:date>
    <item>
      <title>PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981578#M84081</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm geocoding &amp;lt;100 addresses using PROC GEOCODE with downloaded 2024 Steet Lookup Data for 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output showed good street match, but many of the coordinates (X and Y) are off, way off.&amp;nbsp; Here are two output examples (matched addressed are not exactly the input addresses)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matched address: "3003 Sevierville Rd, Maryville, TN 37804"&amp;nbsp; with X=-92.68680269 and Y=34.458537714&lt;/P&gt;&lt;P&gt;(This coordinates fall into &lt;SPAN&gt;Arkansas&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matched address: "206 Debbie Ann Dr, Leander, TX 78641"&amp;nbsp; with X=-80.1951071 and Y=39.556943449&lt;/P&gt;&lt;P&gt;(This coordinates fall into &lt;SPAN&gt;West Virginia&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if anyone has used these lookup data and run into similar problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2026 17:03:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981578#M84081</guid>
      <dc:creator>nianhui</dc:creator>
      <dc:date>2026-01-06T17:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981645#M84082</link>
      <description>&lt;P&gt;Can you post the output of Proc Contents on the street lookup data set used and the Proc Geocode syntax you used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you used a SAS Map data set of some flavor it may be that the X and Y coordinates returned are Map coordinates and not latitude and longitude OR you are getting Lat and Long coordinates that are treated as X, Y map display pairs which would tend to display on a map incorrectly.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 17:04:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981645#M84082</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-01-07T17:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981653#M84083</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached for the output of proc contents on the street lookup data sets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is proc geocode syntax I used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Libname streets '//i110filesmb.hs.it.vumc.io/SASUSER/sasuser/nianh/margaret/geocodedata_2024_StreetLookupData_94';&lt;BR /&gt;proc geocode&lt;BR /&gt;method=STREET&lt;BR /&gt;data=forgeocode&lt;BR /&gt;out=outgeocode&lt;BR /&gt;lookupstreet=streets.usm&lt;BR /&gt;attribute_var=(BLKGRP);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 19:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981653#M84083</guid>
      <dc:creator>nianhui</dc:creator>
      <dc:date>2026-01-07T19:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981668#M84084</link>
      <description>&lt;P&gt;I think the issue may be the name of the state variable in the look up data Look at the help for the LOOKUPSTATEVAR. The default if the option is not set is to use a STATECODE variable. It looks like variable in the USM data set is MapIDNameAbrv.&amp;nbsp; So try adding&amp;nbsp; to the options in the Geocode syntax:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Lookupstatevar = Mapidnameabrv&lt;/PRE&gt;
&lt;P&gt;So you may be getting results for similar City and Address values in different states.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Geocode procedure defaults to a lot of variable names so it is worth checking if anything goes wrong.&lt;/P&gt;
&lt;P&gt;I never had actual street lookup needs so I'm not sure how the procedure might complain if expected variable names aren't met. Did the LOG show anything that might be interpreted as expected&amp;nbsp; variable not present?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 02:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981668#M84084</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-01-08T02:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981721#M84085</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! I think I used the correct variable names in the input data set: "address", "city", "state" and "zip". At first, I used "postal", and the log showed an error about the variable name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried add&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Lookupstatevar = Mapidnameabrv&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but got an error message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Variable MAPIDNAMEABRV not found in MAPSGFK.USCITY_ALL data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 17:03:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981721#M84085</guid>
      <dc:creator>nianhui</dc:creator>
      <dc:date>2026-01-08T17:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981723#M84086</link>
      <description>&lt;P&gt;You did not provide the details about the variables in your INPUT datasets, just the map datasets.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 17:24:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981723#M84086</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-01-08T17:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981727#M84087</link>
      <description>&lt;P&gt;Please see attached for the contents of input address data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 19:24:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981727#M84087</guid>
      <dc:creator>nianhui</dc:creator>
      <dc:date>2026-01-08T19:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981847#M84088</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/479902"&gt;@nianhui&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your USP look up data set has fewer observations than it should.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ReadMe.txt file in the downloaded .zip file states that USP should have&amp;nbsp;323,712,810 obserations. Your PROC CONTENTS output shows the USP data set containing 288,425,236 observations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you receive any errors when running the ImportCSVfiles.sas program to create the lookup data?&lt;/P&gt;
&lt;P&gt;Try running the ImportCSVfiles.sas program again to recreate the lookup data and verify that the USP data set has the expected number of observations then try running PROC GEOCODE again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that helps.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Marcia&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 19:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981847#M84088</guid>
      <dc:creator>MarciaS</dc:creator>
      <dc:date>2026-01-12T19:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981887#M84089</link>
      <description>&lt;P&gt;Thank you very much! Problem solved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log file didn't officially give me any error, but I looked again and there was something wrong. Please see attached log_ImportCSVfiles (1~3). The observation number of usp file is 288425236.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I started from scratch and re-downloaded everything (attached log_ImportCSVfiles_new and contents_usp_new). Now the observation number is&amp;nbsp;323712820.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the coordinates are correct now!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 16:11:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981887#M84089</guid>
      <dc:creator>nianhui</dc:creator>
      <dc:date>2026-01-13T16:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981907#M84090</link>
      <description>&lt;P&gt;Your first log does have an indication of an problem.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-01-13 at 3.32.59 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112600i38D4425E63037B6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-01-13 at 3.32.59 PM.png" alt="Screenshot 2026-01-13 at 3.32.59 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Looks like some part of at least on the files was replaced with binary zeros instead of normal lines of text.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 20:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981907#M84090</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2026-01-13T20:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEOCODE with downloaded street lookup data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981969#M84091</link>
      <description>It didn't give me a red error message, so I didn't look the log carefully at first. I thought this was just some normal things related to importing enormous data set.....</description>
      <pubDate>Wed, 14 Jan 2026 16:51:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GEOCODE-with-downloaded-street-lookup-data/m-p/981969#M84091</guid>
      <dc:creator>nianhui</dc:creator>
      <dc:date>2026-01-14T16:51:31Z</dc:date>
    </item>
  </channel>
</rss>

