Geocoding

Geo-coding is the act of defining a latitude and longitude coordinate pair for an object. Once you have geo-coded 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 geo-coded in your database, the user could enter his address and find results within a defined radius of that location.

You may define as many geo-codes 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 easily add Google maps (or other maps) to your application because you have all of the information necessary to define geo-coded 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.