Use batch API in area importer to support large KML files

Created on 15 May 2018, over 6 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

We recently added a new module called farm_area_import which allows you to import/create areas in bulk from a single KML file.

This works well with small sets of shapes, but breaks if you try to import larger sets (1000+ shapes).

This could also be considered a "bug report" - but I'm going to add it as a feature request because that module is considered "beta" still.

Proposed resolution

Use Drupal's Batch API for creating the shapes. This will break up the processing over multiple page requests to circumvent memory/processing constraints.

Remaining tasks

...

User interface changes

None.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

3.0

Component

Import/export

Created by

πŸ‡ΊπŸ‡ΈUnited States m.stenta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024