Import of a 4 MB zipped shapefile gives the error 'Fatal error: Maximum execution time of 30 seconds exceeded in ..\sites\all\modules\geo\includes\shp2sql.inc on line 304'.
It appears that only 39 records have been imported out of 253.
For importing significant shapefiles, the maximum execution time should be increased to e.g. 300 seconds. In addition, using the drupal progress indicator would be ideal :-)
Comments
Comment #1
allie mickaDo you have a reference to that shapefile? I'd like to see that for myself! I was successfully testing with a 4200+ record file, but perhaps the data was simpler than yours.
Agreed, the batch API would be most useful here.
Comment #2
jpulles commentedIt can be found as an attachment at http://aardbodem.nl/?q=node/68.
Comment #3
allie mickaOK, that's a wonderful dataset! I love it!
I'm not able to reproduce the timeout, and it's really weird you only got though a small percentage. However, I continue to agree that the batch api is where it's at, and I'm updating the title of this issue accordingly.
Comment #4
jpulles commentedThe import was run on my 2 1/2 year old notebook, still single core. Probably it's getting too old and slow for this work...