Opened 10 months ago

Closed 9 months ago

#4842 closed defect (fixed)

Polar Stereographic Axis order wrong

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 3.1.2
Component: postgis Version: 3.1.x
Keywords: Cc:

Description

select st_astext(st_transform(st_setsrid(st_makepoint(12.572160289695635, 66.08108440397841), 4326),3413));

but proj

echo "12.5721602896956 66.0810844039784" | cs2cs -r epsg:4326 epsg:3413

correct answer is

2218082.05    -1409149.95 0.00

Change History (4)

comment:1 Changed 10 months ago by Paul Ramsey <pramsey@…>

In 04d1673/git:

Only do axis flips on CRS that have a "Lat" as the first column. Otherwise just take the EPSG database order. References #4842, #4748

comment:2 Changed 10 months ago by Paul Ramsey <pramsey@…>

In 4f6d81f/git:

Only do axis flips on CRS that have a "Lat" as the first column. Otherwise just take the EPSG database order. References #4842, #4748

comment:3 Changed 10 months ago by richan

Related to #4844?

comment:4 Changed 9 months ago by pramsey

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.