id summary reporter owner description type status priority milestone component version resolution keywords cc 4748 Incorrect coordinate transformation Matthew Blissett pramsey "Converting coordinates to EPSG:3031 projection gives incorrect results, with the coordinates swapped: {{{ SELECT postgis_full_version(); POSTGIS=""3.1.0dev b9c792c"" [EXTENSION] PGSQL=""120"" GEOS=""3.9.0dev-CAPI-1.14.0"" PROJ=""7.2.0"" LIBXML=""2.9.4"" LIBJSON=""0.12.1"" LIBPROTOBUF=""1.3.1"" WAGYU=""0.5.0 (Internal)"" TOPOLOGY SELECT ST_AsEWKT(ST_Transform(ST_SetSRID(ST_Point(-36.75, -54.25), 4326), 3031)); SRID=3031;POINT(3213318.496649317 -2399498.730067588) }}} The expected result, and the result on 3.0.2, is `SRID=3031;POINT(-2399498.73006759 3213318.49664932)`. There was some discussion on IRC: http://irclogs.geoapt.com/postgis/%23postgis.2020-08-24.log starting at 20:28: > PaulRamsey: axis swapping behaviour changed in proj too > > ReginaObe: did things switch in proj 6? > > PaulRamsey: yes, that's when it got the in built epsg database and went to epsg axis ordering > > ReginaObe: okay on my 3.1.0alpha2 with proj 5.2.0 I get SRID=3031;POINT(-2399498.73006759 3213318.49664932) " defect closed medium PostGIS 3.1.0 postgis master fixed