Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#823 closed task (fixed)

tiger geocoder: Make loader_generate_script download portion less greedyy

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 2.1.0
Component: tiger geocoder Version: master
Keywords: tiger, history Cc: wsheldahl


The current loader_generate_script function is a bit greedy in its wget calls. For each state it downloads all the census data for that state. Most of these tables like water, census blocks, faces_al/ah aren't even used for geocoding.

It should only download the tables that fit the pattern of the tables in the loader_lookuptables (where load=true) since these are the only ones that are processed by the loader. This will allow people to add additional tables for processing if they care to, but also minimize on unnecessary waiting for files that aren't even used to be downloaded.

Change History (6)

comment:1 by robe, 13 years ago

Milestone: PostGIS 2.0.0PostGIS Future

comment:2 by robe, 13 years ago

Component: postgistiger geocoder

comment:3 by wsheldahl, 12 years ago

Cc: wsheldahl added

comment:4 by robe, 12 years ago

Milestone: PostGIS FuturePostGIS 2.1.0

I actually have this done in tiger 2011, but waiting till trunk changes to 2.1 before I commit. New version will only download files used by geocoder (or planned for use).

New tiger is in spike for now.

comment:5 by robe, 12 years ago

Resolution: fixed
Status: newclosed

This is now integrated in 2.1.0

comment:6 by robe, 12 years ago

Keywords: history added
Note: See TracTickets for help on using tickets.