This is a community support forum where you can ask questions and interact with other PremiumPress Customers.
Directory Theme: plugin
This Plugin is designed as an aid for those of you who upload CSV files which don’t have map Latitude or Longitude Coordinates:
Using this plugin means you don’t have to edit/visit each of your listings and set the map address. (which gets the coordinates)
Plugin works as follows:
Plugin counts all your listings and breaks those up in to groups of 100 (or less), you select where you want to start: 0 represents the newest (most recent) entries.
The address for each listings gets sent to Google’s Maps and Google returns the Latitude and Longitude, these coordinates are then updated to your listing.
Make sure your CSV file contains a correct packageID and most importantly contains the heading:
showgooglemap (with) yes or no for each of your listings.
What would normally take hours now takes 30seconds per 100 listings.
NOTE! Google do have restrictions on how many requests you can send in one day… the plugin will let you know if you have exceeded that amount. If you do exceed your limit, don’t panic, you can continue processing your listings after 24hours.
As said before, feel free to edit the file or suggest additional options or bugs.
thanks for sharing
Thank you a million times to M for creating this! Just tested and works fantastic!
Thanks for the feedback…
If you have any future problems please use http://coderspress.com/topic/find-listings-geo-coordinates-from-address/
Great! I will!… Also, just for future reference for anyone who may use this….I found that I had to run it about 3 times for each group of 100 to get the coordinates for each listing. The first time I ran it, it would produce an error for about 20 out of the 100. The second time, it had an error for about 10 out of the 100, and the final time I ran it, all 100 would successfully have coordinates.
It didn’t work for me, I have the packageID and showgooglemaps setup, thinking it may have something to do with it being on a multi-site install? It ran said listings were updated but listings were not updated.
My site is spanish and his plugin does’nt work well when map_location field includes some non english characters as “`ó é è ì etc…” That’s a problem in my case because a lot of location in spanish and catalan use that kind of characters.
Beautiful! Thanks so much for creating this plugin. Works very well