Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Geographical constraints

Quote Reply
Geographical constraints
I need to build two search options (and database fields to support them) in a directory for consultants I’m building.

1. Limit results to individuals who are licensed to operate in various states. Normally an individual (‘link’) may be licensed to operate in one, two, or three states; or else licensing does not apply to them.

Link record: Includes option to check off states in which they are licensed.
Search: Includes option to restrict to individuals licensed in one state.

2. Sort results by proximity. All my links may contain a zip code (exception: associations or companies with multiple locations). The person searching has the option of ordering search results based on default (keyword fit, ranking, etc); OR ordering search results based on proximity.

Link record: Includes a field for including a zip code (00000 for multiple locations)
Search: Includes option to sort by proximity, when search inserts their own zip code (or zip code where consultant is needed).

Has anyone built this sort of directory before? Is there a standard solution to it?