Support » Plugin: Geo Mashup » [Plugin: Geo Mashup] Automatically add existing posts

  • Resolved John Chandler


    I have a custom post type with 4000 existing records and a meta_key with address data in it. When I individually update one of the posts, it automatically discovers the address and maps it. But I’ve not found a way to have it map multiple posts at once. (I’ve even tried a mass edit in the Posts screen of the dashboard.) Is there anyway to automate the plugin to review and map the existing posts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dylan Kuhn


    I haven’t coded this yet, but it would be a matter of calling GeoMashupDB::copy_from_geodata() for each post. Timing can be tricky – you have to make sure you don’t violate API terms for geocoding requests. There’s some code in GeoMashupDB::bulk_reverse_geocode() that attempts to manage that.

    Dylan I think I have the same question. I have converted all my address custom fields to = geo_address.

    I would like it to automatically now generate the Geo Lat & Long.

    Is this at all possible now?

    Plugin Author Dylan Kuhn


    If you have a conversion process the way to do it would be to set Geo Mashup’s “Geocode Custom Field” to geo_address before converting. Then when that field is saved for a post, Geo Mashup will try to geocode it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Geo Mashup] Automatically add existing posts’ is closed to new replies.