GPX LINESTRING() data altered to POINT() when re-saving node

Created on 21 December 2022, almost 2 years ago
Updated 16 January 2023, over 1 year ago

Added filefield for GPX upload and added geofield with 'Geocode from existing field' enabled and filefield selected as reference.
This works when when creating a node and uploading a GPX file.
Data is saved as LINESTRING() data in database.
When editing the node the data is converted to POINT() and a single point is displayed on the map instead of the LINESTRING() data.
Even with the option 'Skip Geocode/Reverse Geocode' enabled the data is altered to POINT() data.
When editing the node and uploading the same GPX file, the data is saved correct again als LINESTRING().

Proposed resolution

Leave saved data intact on node edit and save or add an extra option on the 'Geocode from existing field' form to re-save data each time the node is edited.
Maybe an extra check on the 'Skip Geocode/Reverse Geocode' function could fix the issue.
But first I like to know if others are having the same issue on this one?

🐛 Bug report
Status

Closed: works as designed

Version

3.31

Component

Code

Created by

🇳🇱Netherlands Vincent Rommelaars

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.

No activities found.

Production build 0.71.5 2024