Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the code passes through
public function parse(FeedsImportBatch $batch, FeedsSource $source) {
$options = $source->getConfigFor($this);
$options is empty, which results in $spatial_field being an empty string when called in
function spatial_import_process_shapefile($filepath, $spatial_field = 'geom', $field_type = 'wkt') {
Which results in the mapping of the fields going wrong.
Am using Openlayers 2.0 (small patch coming) and php 5.3(!) on lucid.
Anyone having the same issue?
Comment | File | Size | Author |
---|---|---|---|
#2 | 823994-spatial-feeds-fix.patch | 1.84 KB | tmcw |
Comments
Comment #1
tmcw CreditAttribution: tmcw commentedneeds to become
Changing to critical: this breaks support of all new version of Feeds.
Comment #2
tmcw CreditAttribution: tmcw commentedHere's a patch against CVS head that fixes this problem.
Comment #3
phayes CreditAttribution: phayes commentedhttp://drupal.org/cvs?commit=401254
Comment #4
phayes CreditAttribution: phayes commentedPS: Thanks!