Commit graph

133 commits

Author SHA1 Message Date
Regina Obe 7dd0de2f1e Force unix LF. Also get rid of unnecessary call to CREATE INDEX .. we have a missing script for that.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7532 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-01 06:17:26 +00:00
Regina Obe 2c0286eaba Fix for #1086 Issue with parsing out location. also added to regression tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@7531 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-01 02:22:27 +00:00
Regina Obe c561b95e22 #1069: Support for specifying max_results to return. Regress already committed
git-svn-id: http://svn.osgeo.org/postgis/trunk@7518 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-29 10:35:21 +00:00
Regina Obe 721cf47b5e fix for #1073 handling mangled zipcodes and update regress to include these
git-svn-id: http://svn.osgeo.org/postgis/trunk@7517 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-29 05:06:06 +00:00
Regina Obe 98be391212 #1077 preliminary regress tests and current outputs (formatting needs cleanup and to be run by script but will deal with that later). Already have a regress failure when compared with docs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7516 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-29 04:23:29 +00:00
Regina Obe 07b04fb519 fix windows script -- had sh style commented alter schema line instead of windows batch style commented alter schema
git-svn-id: http://svn.osgeo.org/postgis/trunk@7511 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-28 12:32:39 +00:00
Regina Obe 2e42e2ac36 Partial fix for #1068 -- handling of misspelled numeric streets such as 13nd or 22th and partial support for numeric streets with fractions like 1/2
git-svn-id: http://svn.osgeo.org/postgis/trunk@7509 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-28 03:55:52 +00:00
Regina Obe 7c0e4df9df get rid of drop / recreate norm_addy. It's not necessary yet since we haven't changed it.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7508 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-28 02:50:01 +00:00
Regina Obe 15279bf21d #1068 partial fix -- trimmed leading/trailing spaces in normalize_address fields so now correctly handles things like W.,N. etc. More fixes coming.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7507 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-28 01:27:03 +00:00
Regina Obe d0544fd0de #1051 - fix rating logic (typo in direction weight) causing - select (g.addy).*, astext(g.geomout), g.* from geocode('150 2nd Ave S, Minneapolis, MN 55401') as g To return north instead of south. Also change functions to use named args
git-svn-id: http://svn.osgeo.org/postgis/trunk@7474 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 08:13:16 +00:00
Regina Obe c18066a8ab thought had changed to use default params -- guess not. Also stamp in time author info as comment inside function
git-svn-id: http://svn.osgeo.org/postgis/trunk@7468 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 14:25:27 +00:00
Regina Obe 7f412e6fac revert unnecessary edit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7463 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 01:28:23 +00:00
Regina Obe 29453060e1 fix for #1051 -- postDirAbbrev doesn't parse
git-svn-id: http://svn.osgeo.org/postgis/trunk@7462 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 01:20:31 +00:00
Regina Obe c5aa904976 time autho stamp signatures
git-svn-id: http://svn.osgeo.org/postgis/trunk@7458 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 21:15:24 +00:00
Regina Obe 7174d8bc72 fix typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@7457 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 21:11:04 +00:00
Regina Obe da09ba24bd put in author revision id placeholder and have as part of code logic as well
git-svn-id: http://svn.osgeo.org/postgis/trunk@7456 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 21:08:40 +00:00
Regina Obe b0129bea1e add index check / generation for soundex, lower, geometry gist, and least_hn
git-svn-id: http://svn.osgeo.org/postgis/trunk@7427 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-19 00:31:53 +00:00
Regina Obe 7fdc48741c Fix for #1025 -- Geocoder Failing with NORTH EAST is street name
git-svn-id: http://svn.osgeo.org/postgis/trunk@7426 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-18 22:16:54 +00:00
Regina Obe c6f8b7aca8 hmm lets try that again
git-svn-id: http://svn.osgeo.org/postgis/trunk@7424 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-18 07:35:26 +00:00
Regina Obe be0c5e0fa3 backout some code didn't mean to commit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7423 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-18 07:34:47 +00:00
Regina Obe ed39f32b26 Found some indexes I missed -- added to tiger_loader, also #1036 create missing_indexes generation script to back install. Still need to put in logic for some more indexes, but htis is a good start. Also documented new function
git-svn-id: http://svn.osgeo.org/postgis/trunk@7422 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-18 07:29:07 +00:00
Regina Obe bcce90c8ab fix error in last commit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7421 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-18 06:03:38 +00:00
Regina Obe 274aa1238a get rid of unnecessary auto casting
git-svn-id: http://svn.osgeo.org/postgis/trunk@7420 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-18 05:33:56 +00:00
Regina Obe 1e4f6b73d8 #1035 gluing on .0 is making least check always return 0.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7419 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-18 05:15:50 +00:00
Regina Obe 2f1a72e107 surpress outputting sql if not in debug mode
git-svn-id: http://svn.osgeo.org/postgis/trunk@7382 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-13 01:32:47 +00:00
Regina Obe b89b3db7ca change to return as much address as possible even if no fullname at least try to return city, state, zip
git-svn-id: http://svn.osgeo.org/postgis/trunk@7381 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-13 01:31:22 +00:00
Regina Obe 289d988d01 fix division by zero issue
git-svn-id: http://svn.osgeo.org/postgis/trunk@7379 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-12 06:34:18 +00:00
Regina Obe 5d14666e26 make debug statement conditional
git-svn-id: http://svn.osgeo.org/postgis/trunk@7378 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-12 04:55:30 +00:00
Regina Obe d6fd367962 significantly improve speed of reverse geocode (when all states loaded), but using CTEs and unparameterizing query (parameterized often does not use inheritance), reverse_geocode to use default parameters, put in table column comments to describe some of what loader columns mean.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7377 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-12 04:52:03 +00:00
Regina Obe 990d1f8f4c #1009 typo in index creation
git-svn-id: http://svn.osgeo.org/postgis/trunk@7345 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 16:01:51 +00:00
Regina Obe 5d59ea6506 fix ambiguous column issue now that new zcta5 also has statefp
git-svn-id: http://svn.osgeo.org/postgis/trunk@7324 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-05 07:55:27 +00:00
Regina Obe 5fe2e05653 more speed optimizations
git-svn-id: http://svn.osgeo.org/postgis/trunk@7323 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-05 07:35:14 +00:00
Regina Obe ef757f4a4b revise function s so lookup zip utilizes constraint exclusion
git-svn-id: http://svn.osgeo.org/postgis/trunk@7322 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-05 07:07:40 +00:00
Regina Obe f71b47ef49 #1004: census has finally released zcta5 for 2010. Get rid of zcta500 table. replace with a more generic named zcta5. Revise loader state script to load in zcta510 data and revise functions to use new zcta5 table.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7321 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-05 06:13:09 +00:00
Regina Obe 5e9034c40e get rid of bash line -- seems unnecessary and breaks if multiple states. Forgot cd which was making secondary states fail loading.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7293 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-30 09:45:36 +00:00
Regina Obe ed97504976 add remarked out line to set search path -- suggested by Brian Hamlin. Also some other minor changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@7284 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-30 00:30:58 +00:00
Regina Obe 2d150eaaad Get rid of deprecated call to centroid
git-svn-id: http://svn.osgeo.org/postgis/trunk@7283 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-28 23:32:41 +00:00
Regina Obe 6184dfb583 fix for #996 also had to revise least and greatest helper functions to deal with to and froms that can't be converted to integers. Also added missing indexes to base tables (helps the planner with inherited tables though it never really uses those indexes)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7282 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-28 15:07:19 +00:00
Regina Obe 58bd79f5c5 fill in some missing licensing headers and svn tags
git-svn-id: http://svn.osgeo.org/postgis/trunk@7281 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-28 13:29:50 +00:00
Regina Obe 2b73b3b964 revise readme wording so those unix users who aren't on linux won't be quite as offended
git-svn-id: http://svn.osgeo.org/postgis/trunk@7279 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-28 11:24:34 +00:00
Regina Obe b45540056d fix for #995 handling lower level fips. Also many fixes for #908 sh tiger loader profile. Testing now and will close out if confirmed its fixed. Also put in a note in the .sh and .bat that for PostgreSQL 9.1+ have to install fuzzystrmatch with the CREATE EXTENSION syntax
git-svn-id: http://svn.osgeo.org/postgis/trunk@7278 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-28 11:18:24 +00:00
Regina Obe 14e23035f2 more optimizations
git-svn-id: http://svn.osgeo.org/postgis/trunk@7131 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-11 14:59:55 +00:00
Regina Obe fcff5e7c34 put in some missing indexes
git-svn-id: http://svn.osgeo.org/postgis/trunk@7130 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-11 13:50:05 +00:00
Regina Obe cca37670c7 more performance enhancements
git-svn-id: http://svn.osgeo.org/postgis/trunk@7129 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-11 13:32:17 +00:00
Regina Obe 193b0b8c22 turn off debug mode
git-svn-id: http://svn.osgeo.org/postgis/trunk@7128 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-11 12:56:12 +00:00
Regina Obe f6e2365ce2 more usability and performance enhancements. Change geocoder/reverse_geocode to use tiger.state_lookup instead of each schema state table (to achieve this had to add statefp to lookup table). Also put in upgrade scripts and notes on upgrading in README. (current script will only upgrade an alpha tiger 2010 (PostGIS 2.0.0 install) ).
git-svn-id: http://svn.osgeo.org/postgis/trunk@7127 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-11 12:55:13 +00:00
Regina Obe de246b9722 more cleanup of normalize_address function
git-svn-id: http://svn.osgeo.org/postgis/trunk@7120 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-09 19:59:39 +00:00
Regina Obe 1b8703fcc9 put in missing constraints
git-svn-id: http://svn.osgeo.org/postgis/trunk@7119 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-09 16:10:57 +00:00
Regina Obe f536e53fa5 major speed improvements to normalize_address
git-svn-id: http://svn.osgeo.org/postgis/trunk@7117 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-09 15:00:15 +00:00
Regina Obe dde556b569 mark as immutable
git-svn-id: http://svn.osgeo.org/postgis/trunk@7113 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-08 17:20:59 +00:00