[postgis-tickets] [PostGIS] #3150: loader_generate_script refers to out-of-date census FTP url

PostGIS trac at osgeo.org
Thu Jun 4 13:15:54 PDT 2015


#3150: loader_generate_script refers to out-of-date census FTP url
-------------------------------------------------+-------------------------
 Reporter:  aaryno                               |      Owner:  robe
     Type:  defect                               |     Status:  new
 Priority:  medium                               |  Milestone:  PostGIS
                                                 |  2.1.8
Component:  tiger geocoder                       |    Version:  2.1.x
 Keywords:  loader_generate_script, ftp,         |
  http,wget                                      |
-------------------------------------------------+-------------------------
 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"

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3150>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list