Opened 9 years ago

Closed 7 years ago

Last modified 7 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: trunk
Keywords: tiger, history Cc: wsheldahl

Description

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 Changed 9 years ago by robe

Milestone: PostGIS 2.0.0PostGIS Future

comment:2 Changed 8 years ago by robe

Component: postgistiger geocoder

comment:3 Changed 8 years ago by wsheldahl

Cc: wsheldahl added

comment:4 Changed 7 years ago by robe

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.

http://trac.osgeo.org/postgis/browser/spike/robe/tiger_geocoder/tiger_2011

comment:5 Changed 7 years ago by robe

Resolution: fixed
Status: newclosed

This is now integrated in 2.1.0

comment:6 Changed 7 years ago by robe

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