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.
i'm not entirely sure but $values = geofield_compute_values($item['geom'], $input_format);
apparently expects any value to be wrapped within 'geom'.
i have added a quick fix for the lat/lon but didn't check for the others. needs review could also mean needs work :)
Comment | File | Size | Author |
---|---|---|---|
geofield_devel_generate_fix.patch | 862 bytes | dasjo | |
Comments
Comment #1
pcambraThe patch fixes the lat/lon generation, WKT generation seems to work fine already
Comment #2
Brandonian CreditAttribution: Brandonian commentedPatch applied. Thanks, @dasjo!
http://drupalcode.org/project/geofield.git/commit/ad66140