Skip to content

Fix geo coordinate order - #1516

Merged
didoda merged 1 commit into
masterfrom
fix/geo-coordinate-order
Nov 26, 2026
Merged

didoda merged 1 commit into
masterfrom
fix/geo-coordinate-order

Conversation

@DarioSacco

@DarioSacco DarioSacco commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR fixes a bug with coords in the fast create panel: the coordinates had the wrong order, causing the final data to be wrong.

Changes

  • Parse stored WKT coordinates as longitude then latitude.
  • Serialize coordinates as POINT(longitude latitude).

How to reproduce

Create a location from the fast create panel, for example from the "add object" of a children relationship of a folder, add the coords and save it. Then go to the detail page of the location to see the inverted coords.

Note: an extra configuration of the fast create panel may be necessary to see the coords field in the panel.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@didoda didoda added this to the 6.x milestone Nov 26, 2026
@didoda didoda added bug Something isn't working release:patch labels Nov 26, 2026
@didoda
didoda merged commit 7d02b5a into master Nov 26, 2026
7 checks passed
@didoda
didoda deleted the fix/geo-coordinate-order branch November 26, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working release:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants