Ticket #1301 (closed defect: fixed)

Opened 19 months ago

Last modified 16 months ago

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: trunk
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

Changed 16 months ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

Fixed at r8880

Note: See TracTickets for help on using tickets.