Opened 13 years ago
Closed 13 years ago
#1392 closed defect (fixed)
Can't geocode an intersection that should work
Reported by: | arencambre | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | tiger geocoder | Version: | master |
Keywords: | Cc: | aren@… |
Description
The attached image is a sample from the tiger_data.tx_edges table as viewed in Quantum GIS.
You can clearly see that N Denton Tap Rd intersects State Hwy 121. However, these queries produce no results:
SELECT * FROM geocode_intersection('State Hwy 121', 'N Denton Tap Rd', 'TX', 'Coppell'); SELECT * FROM geocode_intersection('State Hwy 121', 'N Denton Tap Rd', 'TX');
This geocoder was constructed using the instructions at http://www.letseehere.com/postgis-geocoder-using-tiger-2010-data but only using Texas data. This intersection is in Coppell, Dallas County, TX.
Attachments (1)
Change History (9)
by , 13 years ago
Attachment: | intersection.png added |
---|
comment:1 by , 13 years ago
Version: | 1.5.X → trunk |
---|
comment:2 by , 13 years ago
Status: | new → assigned |
---|
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I just downloaded and installed r8715, and I still get no results.
I used these steps, in case it matters. I am running Ubuntu 11.10 Desktop 32-bit.
- wget http://postgis.refractions.net/download/postgis-2.0.0SVN.tar.gz
- tar -xvzf postgis-2.0.0SVN.tar.gz
- cd postgis-2.0.0SVN/
- ./configure --with-pgconfig=/usr/bin/pg_config
- make
- sudo make install
- sudo ldconfig
Then I did su postgres and ran: /usr/bin/psql -d geocoder -f /usr/share/postgresql/9.1/contrib/postgis-2.0/postgis_upgrade_20_minor.sql
Then for good measure I did sudo /etc/init.d/postgresql restart
Still getting no results for the above queries.
comment:5 by , 13 years ago
Crap, sorry for the mess in the prior comment. For some reason, this Trac doesn't let me edit my own comments (!), so I can't clean it up. I meant to have an ordered list in the middle.
comment:6 by , 13 years ago
It's not part of the upgarde minor 2.0 script because its not always installed and also a lot of people on 1.5 are using it. Things in the extras folder are never installed as part of the core PostGIS.
Sorry I should clarify that better in the docs (probably in the install sectin where a lot of people are looking). You want to run the extras/tiger_geocoder/tiger_2010/upgrade_geocoder.sh or upgrade_geocoder.bat file
comment:7 by , 13 years ago
For this you can get by by running the -- upgrade_geocode.sql from psql.
comment:8 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Oops, that was it. Thanks! And I didn't realize you could use this tiger_2010 with PostGIS 1.5!
should be fixed at r8713. It was my assumption that everything should have an addr record and the addr record should have a zip which is often not the case for highways.