Geocoding

Geo-coding is the act of defining a latitude and longitude coordinate pair for an object. Once you have geocoded an object you can perform searches by distance. Also you can return distance between objects in your queries. For example if all auto dealerships were geocoded in your database, the user could enter his address and find results within a defined radius of that location.

You may define as many geocodes as you wish for a dGraph. Each coordinate pair is addressed by a unique name. When quering, you use the name to specify the search radius. The returned results will be within the defined radius. This functionality opens up all sorts of doors for providing user functionality. With it you can eaily add Google maps (or other maps) to your application because you have all of the information necessary to define geocoded searches.

The power of this functionality can be seen on website that list cars, houses, apartments, jobs, etc and define geo-coded searches. Users have come to expect this in a website and will not use your site for long if it does not allow them to search within a geographical region. All professional, commercial websites that list objects physically located somewhere need this functionality to retain customers.

Page tags: geocode
page_revision: 1, last_edited: 1206305472|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License