Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1069 closed enhancement (fixed)

Add max_results optional arg to geocode

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 2.0.0
Component: tiger geocoder Version: master
Keywords: history Cc:


By default geocode will limit to return 10 results, but you can pass in say 1 if you just want the best result back.

This will save people from having to do unnecessary distinct ons and will also speed up some queries as we can reduce number of queries to run too.

Change History (2)

comment:1 by robe, 12 years ago

Resolution: fixed
Status: newclosed

done at r7518. Still need to do some performance enhancements to geocode_address, but that won't change the interface.

comment:2 by robe, 12 years ago

Keywords: history added
Note: See TracTickets for help on using tickets.