On 06/10/2013 06:17 PM, Xiang, Aster wrote:
Hi All,
I installed a local Nominatim instance on Ubuntu 12.04. I am trying to
do bulk geocoding about 30,000 addresses. I split the data into 10,000
per batch, and I found out the script stopped after the first 4300
records geocoded, without reporting any errors. So then I thought
maybe it was because of some limit, I split the first 10,000 batch
into 5,000 addresses per batch, and then I see the script stopped
after the first 3200 records, no errors.
I am wondering if there is any settings on the limit of my local
Nominatim server? I appreciate any help on this!
Thanks,
Could you perhaps at least mention the sort of script? Are we talking
PHP or perl ? How are you accessing your data source? Directly in the
DB or are you calling the api itself using CURL or the like? If I were
to make this in php, a few things I would definitely set are these:
ob_implicit_flush();
declare(ticks = 5); //
/* make it or break it */
error_reporting(E_ALL);
ini_set("memory_limit","500M");
/* Keep it running */
error_reporting(E_ALL);
ini_set("max_input_time", "0");
//set_time_limit(0);
ini_set('max_execution_time', 0);
The information is too scarce to be able to help effectively.
Glenn
_______________________________________________
Geocoding mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/geocoding