Opened 6 years ago

Closed 6 years ago

#3150 closed defect (invalid)

loader_generate_script refers to out-of-date census FTP url

Reported by: aaryno Owned by: robe
Priority: medium Milestone: PostGIS 2.1.8
Component: tiger geocoder Version: 2.1.x
Keywords: loader_generate_script, ftp, http, wget Cc:

Description

US Census appears to have changed the ftp://ftp2..census.gov url to a port 80 http://www2.census.gov, although the relative paths remain the same. Since wget does not support wildcards as written, the wget options need to be modified.

This is the wget as generated for state PA: wget http://www2.census.gov/geo/tiger/TIGER2013/PLACE/tl_*_42_*

and output: Resolving ftp2.census.gov... 148.129.75.35, 2610:20:2010:a09:1000:0:9481:4b23 Connecting to ftp2.census.gov|148.129.75.35|:21... failed: Connection refused.

I found this to work: wget -r -l1 -np "http://www2.census.gov" -P /geo/tiger/TIGER2013/PLACE -A "tl_*_42_*"

This is using POSTGIS="2.1.7 r13414"

Change History (3)

comment:1 Changed 6 years ago by robe

Thanks for the update. I'll correct that. Looks like they've created a folder for TIGER2015 too. I hope that means the TIGER2015 data is coming soon, would love to get that in for PostGIS 2.2 release.

comment:2 Changed 6 years ago by robe

Hmm I just checked and the ftp2.census.gov is still present. Are you getting an error using it.

I wonder if that was just a temporary issue:

I can get to this fine and seems like replica of the www2.census.gov

ftp://ftp2.census.gov/geo/tiger/TIGER2014/

and ftp://ftp2.census.gov/geo/tiger/TIGER2013/

Last edited 6 years ago by robe (previous) (diff)

comment:3 Changed 6 years ago by robe

Resolution: invalid
Status: newclosed

Marking this as invalid. Just tried loading NY data and is loading fine from ftp2

Note: See TracTickets for help on using tickets.