Opened 9 months ago

Closed 8 months ago

#5581 closed defect (fixed)

ST_Project(geometry, float, float) is using longitudes as latitudes

Reported by: TrippMadam Owned by: pramsey
Priority: medium Milestone: PostGIS 3.4.1
Component: postgis Version: 3.4.x
Keywords: Cc:


When you use ST_Project() to project a new geometry point a distance and azimuth from an existing geometry point, the coordinates of the new point, which should be (lon,lat) are (lon,lon) instead. The version of the function that accepts geography points is okay, so as a workaround I am temporarily converting my geometry points to geography points and then back again after doing the ST_Project() operation.

Change History (2)

comment:1 by Regina Obe <lr@…>, 8 months ago

In 8af35118/git:

Fix ST_Project lon,lon issue. References #5581 for PostGIS 3.5.0

comment:2 by Regina Obe <lr@…>, 8 months ago

Resolution: fixed
Status: newclosed

In 48e4e27/git:

Fix ST_Project lon,lon issue. Closes #5581 for PostGIS 3.4.1

Note: See TracTickets for help on using tickets.