Geo Mashup only geocodes the field when it is saved. Bulk geocoding of existing fields has been requested but not yet implemented:
https://code.google.com/p/wordpress-geo-mashup/issues/detail?id=597
Thank you for your anwser. I have worked on this issue for 2 days, I am progressing. I know where does issue come from: on geo-mashup-db.php, this doesn’t work.
$results = $google_geocoder->geocode( $query );
$results = $nominatim_geocoder->geocode( $query );
$results = $geonames_geocoder->geocode( $query );
I am testing on three website version: two online and one local.
On local version, there is no problem.
One of online versions works with OpenLayer
The last one, nothing works:
I catch errors for all geocoder solutions: (the map in using is OpenLayer)
google_geocoder
WP_Error Object ( [errors:WP_Error:private] => Array ( [geocoder_request_failed] => Array ( [0] => The geocoding request failed with status 200. ) ) [error_data:WP_Error:private] => Array ( [geocoder_request_failed] => stdClass Object ( [error_message] => You have exceeded your daily request quota for this API. [results] => Array ( ) [status] => OVER_QUERY_LIMIT ) ) )
nominatim_geocoder
WP_Error Object ( [errors:WP_Error:private] => Array ( [http_request_failed] => Array ( [0] => connect() timed out! ) ) [error_data:WP_Error:private] => Array ( ) )
geonames_geocoder
Array ( )
Do you know why I have this error? Could you explain me. Thank you very much.
Edit: It seems, with OpenLayers, the problem comes from:
$response = $this->http->get( $geocode_url, $this->request_params ); (412), file: geo-mashup-geocoder
Var_dump of response:
object(WP_Error)#2308 (2) {
[“errors”:”WP_Error”:private]=>
array(1) {
[“http_request_failed”]=>
array(1) {
[0]=>
string(20) “connect() timed out!”
}
}
[“error_data”:”WP_Error”:private]=>
array(0) {
}
}
Thank you.
It looks like you might have connectivity issues with the nominatim server, or possibly could be blocked. Make sure to comply with their usage policy:
http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy