Opened 4 years ago

Closed 4 years 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 by Paul Ramsey <pramsey@…>, 4 years ago

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 by Paul Ramsey <pramsey@…>, 4 years ago

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 by richan, 4 years ago

Related to #4844?

comment:4 by pramsey, 4 years ago

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