<div dir="ltr"><div><div style="font-size:12.8px"><span style="font-size:14px;color:rgb(107,107,107);font-family:"open sans",sans-serif">I have the tiger geocoder extension installed, and the tiger data loaded for the state of Georgia. I can get a reasonable response from the geocode_intersection function, but geocode, geocode_address and reverse_geocode always fetch 0 rows. </span></div><div style="font-size:12.8px"><span style="font-size:14px;color:rgb(107,107,107);font-family:"open sans",sans-serif"><br></span></div><div style="font-size:12.8px"><span style="font-size:14px;color:rgb(107,107,107);font-family:"open sans",sans-serif">For example:</span></div><div style="font-size:12.8px"><div><br></div><div><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px">select geocode_intersection( 'Patterson Ave', 'Walnut St', 'GA', 'Scottdale', '30079', 1 );</span></font><br></div></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px"><br></span></font></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px">Gives this (correct) result:</span><br><br><span style="font-size:14px">"("(312,,Patterson,Ave,,,<wbr>Scottdale,GA,30079,t)",<wbr>0101000020AD100000465ED6C40211<wbr>55C0AB764D486BE44040,0)"</span><br></font></div><div style="font-size:12.8px"><span style="font-size:14px;color:rgb(107,107,107);font-family:"open sans",sans-serif"><br></span></div><div style="font-size:12.8px"><span style="font-size:14px;color:rgb(107,107,107);font-family:"open sans",sans-serif">But this:</span></div><div style="font-size:12.8px"><span style="font-size:14px;color:rgb(107,107,107);font-family:"open sans",sans-serif"><br></span></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px">select * geocode_address( normalize_address( '312 Patterson Ave, Scottdale GA 30079' ) );</span></font><br></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px"><br></span></font></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px">Yields 0 rows. I just get the header (addy, geomout, header).</span></font></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px"><br></span></font></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px">Similarly, I can get the coordinates for the intersection:</span></font></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><span style="font-size:14px"><br></span></font></div><div style="font-size:12.8px"><font color="#6b6b6b" face="open sans, sans-serif"><div style="font-size:14px">select st_astext( geomout ) from geocode_intersection( 'Patterson Ave', 'Walnut St', 'GA', 'Scottdale', '30079', 1</div><div style="font-size:14px"> );</div><div style="font-size:14px"><br></div><div style="font-size:14px">Results in:</div><div style="font-size:14px"><br></div><div><span style="font-size:14px">"POINT(-84.265794 33.784524)"</span><br></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">But</span></div><div><div><span style="font-size:14px">select </span></div><div><span style="font-size:14px"> pprint_addy( r.addy[1]) as st1, </span></div><div><span style="font-size:14px"> pprint_addy(r.addy[2]) as st2, </span></div><div><span style="font-size:14px"> pprint_addy(r.addy[3]) as st3,</span></div><div><span style="font-size:14px"> array_to_string(r.street, ',') as cross_streets</span></div><div><span style="font-size:14px">from</span></div><div><span style="font-size:14px"> reverse_geocode( st_geomfromtext( 'POINT(-84.265794 33.784524)', 4269),true) as r</span></div><div><span style="font-size:14px">;</span></div></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Gives me 0 rows again.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">I'm doing something very wrong. Any nudges in the correct direction much appreciated.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Thanks in advance,</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Sara</span></div></font></div></div>-- <br><div class="gmail_signature"><div dir="ltr">Sara Yurman, GISP<br>Spatial Focus, LLC<br>Geodata Architects<br><a href="http://www.spatialfocus.com/" target="_blank">http://www.spatialfocus.com/</a><br>Office: (404) 378-0989<br>Fax: (404) 806-6257</div></div>
</div>