Data too long for location field

Created on 13 December 2023, 7 months ago
Updated 15 December 2023, 6 months ago

UPDATE: This is actually a Geofield issue. Reposted here:

https://www.drupal.org/project/geofield/issues/3408728 💬 Data too long for location field Active

------

Effectively the same issue as posted at https://www.drupal.org/project/geocoder/issues/3355171 💬 Data too long for column Closed: works as designed - in this case, the data is, indeed, too long.

I've been pasting GeoJSON data directly into the Location field in Geofield - for this particular region (a Congressional district) there's evidently just too much data. (This is boundary, not point data.)

The error is:

Drupal\Core\Entity\EntityStorageException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'field_map_location_value'

Can Geofield be set up to read directly from a file? Is there any way to increase the field capacity? Thanks in advance for any suggestions...

💬 Support request
Status

Closed: works as designed

Version

4.15

Component

Miscellaneous

Created by

🇺🇸United States bcobin

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

Comments & Activities

Production build 0.69.0 2024