[postgis-tickets] [PostGIS] #2336: FIPS 20 causes wildcard expansion to wget all files
PostGIS
trac at osgeo.org
Sat May 18 08:34:59 PDT 2013
#2336: FIPS 20 causes wildcard expansion to wget all files
----------------------------+-----------------------------------------------
Reporter: skipl | Owner: robe
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.0
Component: tiger geocoder | Version: 2.0.x
Keywords: |
----------------------------+-----------------------------------------------
Postgis 2.1.0 beta 2, tiger_geocoder extension, tiger2012 dataset:
In loader_generate_script() the pattern for generating the per-state wget
line is '/*_' || s.state_fips. When processing Kansas (FIPS 20), the
expansion matches '20' in the year 2012.
This results in downloading the entire nation from each directory (i.e.
*_20 matches tl_2012*). Tightening the pattern to '/tl_*_' ||
s.state_fips does not appear to cause any problems with the rest of the
census tiger2012 directory structure.
PostgreSQL 9.2.4 on x86_64-unknown-linux-gnu, compiled by gcc
(Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3, 64-bit POSTGIS="2.1.0beta2 r11441"
GEOS="3.3.8-CAPI-1.7.8" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.10.0,
released 2013/04/24" LIBXML="2.7.8" RASTER
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2336>
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