Changes

Jump to navigation Jump to search
3,958 bytes added ,  13:44, 21 September 2020
no edit summary
{{Project|Has project output=Data,Tool|Has sponsor=McNair ProjectsCenter
|Has title=Tiger Geocoder
|Has Image=Tiger.jpg
|Has owner=Peter Jalbert,
|Has start date=Fall 2017
|Has keywords=Tiger, Geocoder, Database
|Has project status=Active
|Has Image=Tiger.jpg
}}
 
Note: The Address Ranges National Geodatabase is available from https://www.census.gov/geo/maps-data/data/tiger-geodatabases.html
This page serves as documentation for using the Tiger Geocoder on Postgres SQL, as part of the PostGIS extension. The following wiki pages may also be of use to you:
CURRENT PROGRESS:
The following states have been downloaded into the geocoder database.
AL, AK, AZ, AR, CA, CO, CT, DE, FL, GA, IA, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN ===Current Errors===The state scripts stopped working on 11/1/2017 while they were working on 10/31/2017. Now, when a retrieval script is run, it draws the error HTTP request sent, awaiting response... 403 ForbiddenPossible thoughts: Maybe our IP has been blacklisted for downloading data from a government website quickly? If so, PostGIS should really choose a different installation method. The current one is dumb. Maybe the nation downloader script never worked properly. Not sure how to check if it is correct or not; seems right. [https://trac.osgeo.org/postgis/ticket/3699 This] is the only online forum I could find with others who have faced a similar issue. NOTE: Contacted the US Census Bureau and never got a response. However, the scripts magically started working again about a week later. Second however, the scripts stopped working again the next day.
==Geocode Function==
rating -- This is an integer that determines the confidence in the resulting geocode. The closer to 0, the more confident the guess.
 
ST_X(g.geomout) -- This retrieves the longitude coordinate of the point.
 
ST_Y(g.geomout) -- This retrieves the latitude corodinate of the point.
 
addy -- In general, addy is a normalized address resulting from the input address.
 
(addy).address -- The number of the address (Ex: "75" Blabla rd.)
 
(addy).streetname -- The name of the street (Ex: 75 "Blabla" rd.)
 
(addy).streettypeabbrev -- The abbreviation of the street (Ex: 75 blabla "rd")
 
(addy).location -- The city location of the address.
 
(addy).stateabbrev -- The state abbreviation.
 
(addy).zip -- The zipcode of the address.
--------+-------------------+----------------+------+--------+------+--------+----+-------
0 | -71.0557505845646 | 42.35897920691 | 75 | State | St | Boston | MA | 02109
 
==Current Errors==
Currently, we are getting a 403 Forbidden Error when trying to download state data. We are in contact with the US Census Bureau. Their contact information can be found [https://www.census.gov/geo/about/contact.html here].
 
The email exchanges are recorded below.
 
--------------------------------------
--------------------------------------
 
I am a student researcher at the McNair Center for Entrepreneurship and Innovation at Rice University, and I am in the process of installing a Postgres Extension that relies on the TIGER data.
 
When I began installing the extension, things were working fine. Now however, I am getting a 403 Forbidden error when the script tries to download the TIGER files. Do you have any idea why this might be happening?
 
The extension I'm trying to install is below:
 
http://postgis.net/docs/postgis_installation.html#install_tiger_geocoder_extension
 
When I run any of the scripts that require data from TIGER, I am receiving the following error:
 
 
--2017-11-06 14:15:29-- http://www2.census.gov/geo/tiger/TIGER2016/FEATNAMES/tl_2016_06065_featnames.zip
Resolving www2.census.gov (www2.census.gov)... 104.84.241.90, 2600:1404:a:382::208c, 2600:1404:a:39c::208c
Connecting to www2.census.gov (www2.census.gov)|104.84.241.90|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2017-11-06 14:15:29 ERROR 403: Forbidden.
 
 
----------------------------------------
 
Thank you for reaching out to us. The postgis docs is not from the Geography Division, so I cannot comment on that. A couple things that come to mind.
 
We just released our new 2017 Shapefiles, so it's possible the scripts may be written for a previous version of our Shapefiles.
You may need to clean out your cookies, restart your browser, and then attempt to reinstall.
Were you able to download our Shapefiles successfully?
 
----------------------------------------
 
The Shapefiles are part of the files being blocked by the 403 Forbidden error.
 
The script is using a wget protocol to bulk download the data, so there were no cookies involved. Also, the download had been working in previous days; it was only recently that the same scripts stopped working. I am worried that our IP address somehow ended up on a blacklist for the TIGER data. Is there a blacklist for addresses that access the TIGER data?
 
Our IP address is 128.42.44.181.
 
---------------------------------------
 
I have forwarded your question on to our IT folks. Since I work on the subject matter side, I am unable to answer your questions. Once I hear back from them, I will forward their response to you. Hopefully they will provide to you what you need in order to download our Shapefiles. My apologies for your inconvenience.
 
 
----------------------------------------

Navigation menu