Opened 13 years ago

Closed 13 years ago

#1301 closed defect (fixed)

Transforming from SRID 4267 to 4326 returns incorrect result

Reported by: realityexists Owned by: pramsey
Priority: high Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

PostGIS 2.0.0 as of 2011-11-08

select st_astext(st_transform(ST_GeomFromEWKT('SRID=4267;POINT(-70 10)'), 4326));

returns POINT(-1.22173047639603 0.174532925199433) which is way off. However

select st_astext(st_transform(st_transform(ST_GeomFromEWKT('SRID=4267;POINT(-70 10)'), 3395), 4326));

returns a point very close to the input, as expected.

In 1.5.3 the first query results in an error (see defect 318), so this is not an entirely new issue. However, on 2.0.0 it returns a bad result, which is worse, because the problem is much harder to detect.

Change History (1)

comment:1 by pramsey, 13 years ago

Resolution: fixed
Status: newclosed

Fixed at r8880

Note: See TracTickets for help on using tickets.