Commit graph

194 commits

Author SHA1 Message Date
Regina Obe f3b7d0b004 #1392: Can't geocode intersecting highways or areas where no zip available
git-svn-id: http://svn.osgeo.org/postgis/trunk@8713 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-09 14:56:09 +00:00
Regina Obe 5eb64abbaf #1366 -- don't rely on state field being capitalized.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8355 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 02:20:04 +00:00
Regina Obe 7a5e6874ce more revisions to cross streets logic -- don't rely on start point working with multilinestrings. change tfid to be unique index on faces.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8297 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 15:43:01 +00:00
Regina Obe d93b52290e move geocode_intersection.sql to user api section since it is documented.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8294 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 08:07:15 +00:00
Regina Obe 417a10e4f6 make compatible with postgresql 8.4, more speed improvements
git-svn-id: http://svn.osgeo.org/postgis/trunk@8290 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 19:06:41 +00:00
Regina Obe 5070e0112a #1333 geocode_intersections: would help to actually include the function to.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8276 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 08:36:30 +00:00
Regina Obe d50e3f770b #1333 geocode intersections
git-svn-id: http://svn.osgeo.org/postgis/trunk@8275 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 08:28:22 +00:00
Regina Obe 576b575b13 Fix for #1310
git-svn-id: http://svn.osgeo.org/postgis/trunk@8252 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-29 08:49:06 +00:00
Regina Obe 65c16daaca put in logic to st_setsrid to wgs84 before doing st_distance_sphere in case Paul decides he doesn't want to fix the regression issue noted in #1243
git-svn-id: http://svn.osgeo.org/postgis/trunk@7996 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-21 12:01:12 +00:00
Regina Obe c597c753f1 #1209: redundant constraint chk_statefp on loading edges.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7887 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-23 19:58:20 +00:00
Regina Obe 3ab633c2a0 Document tiger to postgis topology loader and revise scripts to install the new function. also some additional minor fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@7832 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-10 06:43:27 +00:00
Regina Obe 3e7c9626c6 save as UTF-8
git-svn-id: http://svn.osgeo.org/postgis/trunk@7831 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-10 05:35:18 +00:00
Regina Obe 8bf2182b99 Alas a load with no topology validation errors. Fix remaining issues with missing loading of some edges of faces
git-svn-id: http://svn.osgeo.org/postgis/trunk@7830 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-10 05:11:44 +00:00
Regina Obe d6ce2fb5b0 get rid of superfluous junk
git-svn-id: http://svn.osgeo.org/postgis/trunk@7829 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-10 02:49:28 +00:00
Regina Obe eb48250b12 revise to snap points to topology precision, also set edge left/right face to 0 if null (world face). ValidateTopology now reports 25 errors instead of 484 errors (what it did before)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7827 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-09 14:06:57 +00:00
Regina Obe c5002f4896 revise to transform to spatial reference system of target topology
git-svn-id: http://svn.osgeo.org/postgis/trunk@7826 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-08 19:18:26 +00:00
Regina Obe 4a1424d37d more changes to add missing edges
git-svn-id: http://svn.osgeo.org/postgis/trunk@7825 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-08 16:47:15 +00:00
Regina Obe 65b51e2299 more minor corrections
git-svn-id: http://svn.osgeo.org/postgis/trunk@7824 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-08 14:36:08 +00:00
Regina Obe 3e114f0a3a logic to load in edges marking those with orphaned next_left, next_right to -neg of itself
git-svn-id: http://svn.osgeo.org/postgis/trunk@7822 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-08 08:06:28 +00:00
Regina Obe ac86390d21 more typo corrections
git-svn-id: http://svn.osgeo.org/postgis/trunk@7821 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-07 17:13:34 +00:00
Regina Obe 7ff7bcf0f0 more typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@7820 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-07 14:57:12 +00:00
Regina Obe 7f2658a8fd fix typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@7819 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-07 14:55:50 +00:00
Regina Obe baa3e01a1b more work on tiger topology loader -- revised to use temp table.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7818 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-07 14:54:39 +00:00
Regina Obe a1f9a60107 revise to return first part of street number e.g. 112-345 -> 112
git-svn-id: http://svn.osgeo.org/postgis/trunk@7801 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-01 14:58:04 +00:00
Regina Obe 6026a62940 revise so works under 8.4 evidentially in 8.4 INTO USING clauses are not interchangeable but they are in later versions
git-svn-id: http://svn.osgeo.org/postgis/trunk@7800 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-01 12:35:45 +00:00
Regina Obe dcb1670754 more finetuninng of street offset to consider non-straight tlids
git-svn-id: http://svn.osgeo.org/postgis/trunk@7798 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-01 09:00:04 +00:00
Regina Obe 4464fd8bb8 #1052 -- instead of placing geocoded point at center line, offset it 10 meters to the correct odd/even (L / R utilizing addr.side field). May later change this to allow the user to specify the offset amount.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7796 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-31 14:53:48 +00:00
Regina Obe 38e708b3a1 #997 put in correct codes for non-state us territories
git-svn-id: http://svn.osgeo.org/postgis/trunk@7775 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-22 21:24:52 +00:00
Regina Obe f6e422f5f9 #1071: Logic to mark nodes that are contained in a face
git-svn-id: http://svn.osgeo.org/postgis/trunk@7747 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-14 12:39:26 +00:00
Regina Obe 4e55f59114 #1071 - start work on tiger PostGIS topology loader
git-svn-id: http://svn.osgeo.org/postgis/trunk@7746 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-14 12:32:23 +00:00
Regina Obe e5889ccb57 #1156 incorporate suggestions from forkandwait
git-svn-id: http://svn.osgeo.org/postgis/trunk@7742 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-13 02:01:27 +00:00
Regina Obe dff685ce27 change reverse_geocode back to using addr table and also use cousub for location
git-svn-id: http://svn.osgeo.org/postgis/trunk@7729 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-11 16:35:13 +00:00
Regina Obe dedffcaaed Make more efficient the case when no state or city is provided but zip is provided.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7691 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-03 05:00:36 +00:00
Regina Obe 09241cd2f9 Major rework to improve speed, selectivity, and additional regress. Also added some indexes and removed some -- should solve #1145, #1148, and #1131 (should be about 60% faster for most cases and in some as much as 20 times faster). Better performance if you set max results = 1. Some other minor cleanup. documentation of new management helper functions coming next.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7689 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-03 02:06:31 +00:00
Regina Obe df2224737c Fix datatype of tlid on edges table. Other tables with tlid are set to bigint. This one set to numeric(10). Still revising my tables to determine what impact this has in utilizing the existing indexes
git-svn-id: http://svn.osgeo.org/postgis/trunk@7651 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-18 04:44:11 +00:00
Regina Obe e000e5b35a Limit edge and featnames search to just road / street types
git-svn-id: http://svn.osgeo.org/postgis/trunk@7650 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-17 17:39:00 +00:00
Regina Obe 95c6f70b40 more regress tests for reverse_geocode
git-svn-id: http://svn.osgeo.org/postgis/trunk@7649 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-17 17:02:02 +00:00
Regina Obe debaaa31bc simplify logic by getting rid of addr join. Speed improved slightly
git-svn-id: http://svn.osgeo.org/postgis/trunk@7648 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-17 16:46:06 +00:00
Regina Obe a1282f5e90 enhancements to support reverse geocoding of highway locations. Also add reverse geocode regress tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@7647 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-17 16:11:08 +00:00
Regina Obe ae00e4d140 #1125 have highway designations print in front of streetname instead of after
git-svn-id: http://svn.osgeo.org/postgis/trunk@7646 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-16 04:19:45 +00:00
Regina Obe 197bd671a4 revise ratings to minimize numberes steetss from matching highly with interstate routes. Also glue on pretype abrv (which are technically street types) to front of street name in normalize output so that highways print correctly as e.g. State Hwy 10 etc.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7641 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-15 06:40:19 +00:00
Regina Obe f8827da371 Add in common abbreviation RT to map to Rte and test case to regress to test
git-svn-id: http://svn.osgeo.org/postgis/trunk@7640 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-15 05:31:42 +00:00
Regina Obe 98d817ade6 #1113 take into consideration street prequals like Old in rating and filtering, also added btree varops on fullname (trigrams and fulltext proved too slow will need to reinvestigate those), also added helper function install_missing_indezes() which gets run as part of upgrade script. will need to add to documentation. Also added regress tests from snippets in #1113
git-svn-id: http://svn.osgeo.org/postgis/trunk@7634 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-14 07:45:31 +00:00
Regina Obe 6c9cd330e2 Fix for #1112 service roads
git-svn-id: http://svn.osgeo.org/postgis/trunk@7632 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-12 19:45:53 +00:00
Regina Obe cf59760940 Partial fix for #1108
git-svn-id: http://svn.osgeo.org/postgis/trunk@7631 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-12 13:03:16 +00:00
Regina Obe a71e73eecd Fix regress failure with #1074 (wasn't correctly handling all cases where street name is composed of a street type
git-svn-id: http://svn.osgeo.org/postgis/trunk@7630 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-12 04:14:07 +00:00
Regina Obe 96190849ae oops typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@7627 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-09 20:32:51 +00:00
Regina Obe c572faca74 revert change
git-svn-id: http://svn.osgeo.org/postgis/trunk@7626 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-09 20:25:07 +00:00
Regina Obe bfcb16259b fix type in county load
git-svn-id: http://svn.osgeo.org/postgis/trunk@7625 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-09 20:12:42 +00:00
Regina Obe 37fae4c349 #1070 optional geometry filter arg, documentation (well start need example), and regress tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@7620 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-07 22:45:27 +00:00