geocoder documentation?

By rez - February 7, 2011 - edited: February 7, 2011

Will there be / is there more info on what's possible with the geocoder plug like below? Is everything defined somewhere like for CMSB?



'addSelectExpr' => geocoder_getSelectExprForDistance($myLat, $myLng, '_distance', $kmOrMiles), // adds '_distance' field to output records
'where' => geocoder_getWhereForDistanceWithin($myLat, $myLng, $maxDist, $kmOrMiles), // optimization: remove results outside of minimum bounding rectangle
'having' => "_distance <= " . $maxDist, // only show results within max distance
'orderBy' => 'ISNULL(_distance), _distance', // sort nearest records first -and- unknown or undefined distances last
));


I dont even get most of that. Rectangle? huh? "ISNULL(_distance), _distance" ?

Re: [rez] geocoder documentation?

By Jason - February 8, 2011

Hi,

All of our documentation on the geocoder plugin is in the readme file and in the comments in the sample pages.

For example, the code you're referencing is returning geocoded records that fall within a certain distance.

If you have any specific questions about parts of the code, please let us know and we'll do our best to explain how it works.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/