Title: Implementing Radius
Last modified: August 22, 2016

---

# Implementing Radius

 *  [Sumo1](https://wordpress.org/support/users/sumo1/)
 * (@sumo1)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/implementing-radius/)
 * Hi, I can see from your GitHUb posts that you’ve added the radius feature to 
   the plugin. Just wondered if you could give me some guidance on how to implement
   it and get it working?
 * Thanks
 * [https://wordpress.org/plugins/wp-geoposts/](https://wordpress.org/plugins/wp-geoposts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [fyaconiello](https://wordpress.org/support/users/fyaconiello/)
 * (@fyaconiello)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/implementing-radius/#post-5594078)
 * you should use the github, there are a couple small updates and bug fixes there.
 * [https://github.com/fyaconiello/wp-geo-posts](https://github.com/fyaconiello/wp-geo-posts)
 * in the bottom of the readme there is an example w/ a radius.
 * A couple known unsolved issues:
 * If you use shared hosting this probably won’t work well. Geoencoding addresses
   uses Google’s geoencoding service which limits how many geocodes can be done 
   per day PER IP. So if other people are geoencoding on your shared environment
   there may not be enough encodes for you.
 * If you have a huge number of geoposts, you will run into another issue. calculating
   distance on EVERY post before limiting on radius is going to take forever. You
   can modify my plugin using this: [http://www.plumislandmedia.net/mysql/haversine-mysql-nearest-loc/](http://www.plumislandmedia.net/mysql/haversine-mysql-nearest-loc/)
   look at the optimization header to pre-filter before records you are calculating
   distance on.
 *  Thread Starter [Sumo1](https://wordpress.org/support/users/sumo1/)
 * (@sumo1)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/implementing-radius/#post-5594107)
 * Seems to work with the new files – Awesome!
 * We’ve been using this plugin for a while with no issues (before we needed the
   radius feature). What would you call a ‘huge’ number of geoposts?
 * Google recommends Client-Side Geocoding, is this a possibility?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Implementing Radius’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-geoposts.svg)
 * [WP GeoPosts](https://wordpress.org/plugins/wp-geoposts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-geoposts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-geoposts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-geoposts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-geoposts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-geoposts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sumo1](https://wordpress.org/support/users/sumo1/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/implementing-radius/#post-5594107)
 * Status: not resolved